Skip to content

Commit

Permalink
agent: add missing tool name in response!
Browse files Browse the repository at this point in the history
  • Loading branch information
ochafik committed Oct 31, 2024
1 parent 479c152 commit bc52c0a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions examples/agent/run.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,7 @@ def describe(res, res_str, max_len = 1000):
messages.append(dict(
tool_call_id=tool_call.get('id'),
role='tool',
name=name,
content=tool_result_str,
))
else:
Expand Down

0 comments on commit bc52c0a

Please sign in to comment.