diff --git a/agents-api/agents_api/queries/entries/create_entries.py b/agents-api/agents_api/queries/entries/create_entries.py index 48e32dafd..defd15e0e 100644 --- a/agents-api/agents_api/queries/entries/create_entries.py +++ b/agents-api/agents_api/queries/entries/create_entries.py @@ -99,7 +99,7 @@ async def create_entries( item.get("name"), # $6 content_to_json(item.get("content") or {}), # $7 item.get("tool_call_id"), # $8 - content_to_json(item.get("tool_calls") or {}), # $9 + item.get("tool_calls"), # $9 item.get("model"), # $10 item.get("token_count"), # $11 select_tokenizer(item.get("model"))["type"], # $12