From 695a961333917a5dc3ee9f7642b5db15586619c6 Mon Sep 17 00:00:00 2001 From: akhisud3195 Date: Wed, 26 Mar 2025 15:22:59 +0530 Subject: [PATCH] Fix tool call id --- apps/rowboat_agents/src/graph/core.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/apps/rowboat_agents/src/graph/core.py b/apps/rowboat_agents/src/graph/core.py index af00f870..b0f5b633 100644 --- a/apps/rowboat_agents/src/graph/core.py +++ b/apps/rowboat_agents/src/graph/core.py @@ -267,9 +267,9 @@ async def run_turn_streamed( # Process streaming events async for event in stream_result.stream_events(): - # print('='*50) - # print("Received event: ", event) - # print('-'*50) + print('='*50) + print("Received event: ", event) + print('-'*50) # Handle raw response events and accumulate tokens if event.type == "raw_response_event": @@ -339,7 +339,7 @@ async def run_turn_streamed( 'name': event.item.raw_item.name, 'arguments': event.item.raw_item.arguments }, - 'id': event.item.raw_item.id, + 'id': event.item.raw_item.call_id, 'type': 'function' }], 'tool_call_id': None,