We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a9dabf5 + b17fa2b commit 75d2066Copy full SHA for 75d2066
1 file changed
agents/s_full.py
@@ -733,4 +733,9 @@ def agent_loop(messages: list):
733
continue
734
history.append({"role": "user", "content": query})
735
agent_loop(history)
736
+ response_content = history[-1]["content"]
737
+ if isinstance(response_content, list):
738
+ for block in response_content:
739
+ if hasattr(block, "text"):
740
+ print(block.text)
741
print()
0 commit comments