You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[BFCL] Migrate Gemini Inference to Google AI Studio (#1099)
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](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](googleapis/python-genai#1005)).
Copy file name to clipboardExpand all lines: berkeley-function-call-leaderboard/CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,7 @@
2
2
3
3
All notable changes to the Berkeley Function Calling Leaderboard will be documented in this file.
4
4
5
+
-[Jul 6, 2025][#1099](https://github.com/ShishirPatil/gorilla/pull/1099): Migrate Gemini inference to Google AI Studio.
5
6
-[Jul 2, 2025][#1090](https://github.com/ShishirPatil/gorilla/pull/1090): Updated OpenAI models to use `developer` role instead of `system` role, following OpenAI's documentation recommendations. This change affects only the OpenAI Responses handler.
6
7
-[Jul 2, 2025][#1062](https://github.com/ShishirPatil/gorilla/pull/1062): Introduce OpenAI Responses handler, and add support for `o3-2025-04-16` and `o4-mini-2025-04-16`.
7
8
-[Jun 30, 2025][#956](https://github.com/ShishirPatil/gorilla/pull/956): Fix typo in ground truth for multi_turn_base.
Copy file name to clipboardExpand all lines: berkeley-function-call-leaderboard/SUPPORTED_MODELS.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -135,7 +135,7 @@ For model names containing `{...}`, multiple versions are available. For example
135
135
## Additional Requirements for Certain Models
136
136
137
137
-**Gemini Models:**
138
-
For `Gemini` models, we use the Google Vertex AI endpoint for inference. Ensure you have set the `VERTEX_AI_PROJECT_ID` and `VERTEX_AI_LOCATION` in your `.env` file.
138
+
For `Gemini` models, we use the Google AI Studio API for inference. Ensure you have set the `GOOGLE_API_KEY` in your `.env` file.
139
139
140
140
-**Databricks Models:**
141
141
For `databrick-dbrx-instruct`, you must create an Azure Databricks workspace and set up a dedicated inference endpoint. Provide the endpoint URL via `DATABRICKS_AZURE_ENDPOINT_URL` in `.env`.
0 commit comments