Skip to content

Commit

Permalink
fix inference code
Browse files Browse the repository at this point in the history
  • Loading branch information
khai-meetkai committed Dec 23, 2024
1 parent 74da07d commit 376ebbc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ def parse_assistant_response(
for tool_call in tool_calls:
if tool_call["function"]["name"] == "multi_tool_use":
sub_tool_calls = []
tool_use_list = json.loads(tool_call["function"]["arguments"])
tool_use_list = json.loads(tool_call["function"]["arguments"])["tool_uses"]
for tool_use in tool_use_list:
sub_tool_calls.append(
{
Expand Down

0 comments on commit 376ebbc

Please sign in to comment.