Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Oct 28, 2024
1 parent 915f09e commit 8bf79bd
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,13 +69,13 @@ def extract_tool_calls(item, capture_content):
calls = []
for tool_call in tool_calls:
tool_call_dict = {}
id = get_property_value(tool_call, "id")
if id:
tool_call_dict["id"] = id
call_id = get_property_value(tool_call, "id")
if call_id:
tool_call_dict["id"] = call_id

type = get_property_value(tool_call, "type")
if type:
tool_call_dict["type"] = type
tool_type = get_property_value(tool_call, "type")
if tool_type:
tool_call_dict["type"] = tool_type

func = get_property_value(tool_call, "function")
if func:
Expand Down

0 comments on commit 8bf79bd

Please sign in to comment.