ascender1729/pavan/refactor-expression-in-interactive_groupchat.py

Fix interactive_groupchat system prompt display
pull/882/head
Pavan Kumar 3 weeks ago committed by GitHub
commit 2e495b266a
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():
if isinstance(agent, Agent):
print(
f"- @{name}: {agent.system_prompt.split('\n')[0]}"
f"- @{name}: {agent.system_prompt.splitlines()[0]}"
)
else:
print(f"- @{name}: Custom callable function")

Loading…
Cancel
Save