Skip to content

Commit a879813

Browse files
committed
Revert "Merge pull request #128 from jimpablo/improve-output-format"
This reverts commit 86f7ac1, reversing changes made to 3b9b87f.
1 parent de2f03a commit a879813

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

agents/s02_tool_use.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ def agent_loop(messages: list):
125125
if block.type == "tool_use":
126126
handler = TOOL_HANDLERS.get(block.name)
127127
output = handler(**block.input) if handler else f"Unknown tool: {block.name}"
128-
print(f"> {block.name}:")
129-
print(output[:200])
128+
print(f"> {block.name}: {output[:200]}")
130129
results.append({"type": "tool_result", "tool_use_id": block.id, "content": output})
131130
messages.append({"role": "user", "content": results})
132131

0 commit comments

Comments
 (0)