agent: add missing tool name in response!

This commit is contained in:
ochafik 2024-10-31 15:01:17 +00:00
parent 479c1520b1
commit bc52c0a4f0

View file

@ -158,6 +158,7 @@ async def main(
messages.append(dict(
tool_call_id=tool_call.get('id'),
role='tool',
name=name,
content=tool_result_str,
))
else: