agent
: add missing tool name in response!
This commit is contained in:
parent
479c1520b1
commit
bc52c0a4f0
1 changed files with 1 additions and 0 deletions
|
@ -158,6 +158,7 @@ async def main(
|
||||||
messages.append(dict(
|
messages.append(dict(
|
||||||
tool_call_id=tool_call.get('id'),
|
tool_call_id=tool_call.get('id'),
|
||||||
role='tool',
|
role='tool',
|
||||||
|
name=name,
|
||||||
content=tool_result_str,
|
content=tool_result_str,
|
||||||
))
|
))
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue