Skip to content

Commit

Permalink
fix(agents-api): Store tool_calls into entries properly
Browse files Browse the repository at this point in the history
  • Loading branch information
HamadaSalhab committed Jan 2, 2025
1 parent f68a19d commit 1ccd8a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion agents-api/agents_api/queries/entries/create_entries.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1ccd8a7

Please sign in to comment.