Skip to content

Commit

Permalink
Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Amnah199 committed Aug 30, 2024
1 parent 240bf9c commit 4b27481
Showing 1 changed file with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -135,10 +135,6 @@ def to_dict(self) -> Dict[str, Any]:
streaming_callback=callback_name,
)

for t in self._tools:
print(Tool.to_dict(t))
print ("FUNCTION DECLARATION")
print (t._callable_functions)
if (tools := data["init_parameters"].get("tools")) is not None:
data["init_parameters"]["tools"] = [Tool.to_dict(t) for t in tools]
if (generation_config := data["init_parameters"].get("generation_config")) is not None:
Expand Down

0 comments on commit 4b27481

Please sign in to comment.