Skip to content

Commit

Permalink
Merge pull request #264 from ag2ai/gemini-fixes-202412
Browse files Browse the repository at this point in the history
Google Gemini Client fixes
  • Loading branch information
qingyun-wu authored Dec 21, 2024
2 parents 9bf6998 + 62303c2 commit 35de7f8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autogen/oai/gemini.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@ def create(self, params: dict) -> ChatCompletion:
if fn_call not in prev_function_calls:
autogen_tool_calls.append(
ChatCompletionMessageToolCall(
id=random_id,
id=str(random_id),
function={
"name": fn_call.name,
"arguments": (
Expand Down

0 comments on commit 35de7f8

Please sign in to comment.