Skip to content

Commit

Permalink
fix: LLMAgent's call_tool function to correctly serialize arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
elisalimli committed Apr 29, 2024
1 parent 20433fe commit d045014
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/superagent/app/agents/llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ async def call_tool(
content="",
additional_kwargs={
"function_call": {
"arguments": args,
"arguments": json.dumps(args),
"name": name,
}
},
Expand Down

0 comments on commit d045014

Please sign in to comment.