Skip to content

[BFCL] Migrate Gemini Inference to Google AI Studio#1099

Merged
HuanzhiMao merged 4 commits intoShishirPatil:mainfrom
HuanzhiMao:ai_studio
Jul 6, 2025
Merged

[BFCL] Migrate Gemini Inference to Google AI Studio#1099
HuanzhiMao merged 4 commits intoShishirPatil:mainfrom
HuanzhiMao:ai_studio

Conversation

@HuanzhiMao
Copy link
Copy Markdown
Collaborator

@HuanzhiMao HuanzhiMao commented Jul 6, 2025

This PR updates the inference mechanism for Google Gemini models, replacing the use of Google Vertex AI with Google AI Studio.
In addition, this PR downgrades tenacity from 9.0.0 → 8.5.0 because google-genai currently pins tenacity<9.0.


Compatibility note on tenacity

Our code does exercise the retry path affected by jd/tenacity #425, but the issue has no functional impact on our evaluation accuracy. Therefore, the temporary downgrade is considered safe.
We will revert to tenacity ≥9.0 once python-genai removes the <9.0 pin (tracked in googleapis/python-genai #1005).


Co-authored-by: Imra Dawoodanio imra.d@berkeley.edu

@HuanzhiMao HuanzhiMao added the BFCL-General General BFCL Issue label Jul 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

BFCL-General General BFCL Issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants