Merge pull request #882 from ascender1729/InteractiveGroupChat

[fix][ui][structs][bounty-eligible] Refactor expression in interactive_groupchat.py
pull/884/merge
Kye Gomez 3 weeks ago committed by GitHub
commit 6e5bc850b7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -223,7 +223,7 @@ class InteractiveGroupChat:
for name, agent in self.agent_map.items(): for name, agent in self.agent_map.items():
if isinstance(agent, Agent): if isinstance(agent, Agent):
print( print(
f"- @{name}: {agent.system_prompt.split('\n')[0]}" f"- @{name}: {agent.system_prompt.splitlines()[0]}"
) )
else: else:
print(f"- @{name}: Custom callable function") print(f"- @{name}: Custom callable function")

Loading…
Cancel
Save