From bc52c0a4f0c8dc02c79d02e9c1b19f6f09b99539 Mon Sep 17 00:00:00 2001 From: ochafik Date: Thu, 31 Oct 2024 15:01:17 +0000 Subject: [PATCH] `agent`: add missing tool name in response! --- examples/agent/run.py | 1 + 1 file changed, 1 insertion(+) diff --git a/examples/agent/run.py b/examples/agent/run.py index 8783e6a63..e87b37e28 100644 --- a/examples/agent/run.py +++ b/examples/agent/run.py @@ -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: