-
Notifications
You must be signed in to change notification settings - Fork 8.4k
docs(gemini): update docs & constants to add latest models #7141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -213,8 +213,19 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
| GeminiModels: TypeAlias = Literal[ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.7-flash", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.6-flash", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.5-flash", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-pro-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3-pro-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3-flash-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.5-flash-lite", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-flash-lite", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3-pro-image", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-flash-image", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-flash-lite-image", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-flash-live-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-flash-tts-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-2.5-pro", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-2.5-pro-preview-03-25", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-2.5-pro-preview-05-06", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -259,6 +270,8 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-robotics-er-1.5-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-gemma-2-27b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-gemma-2-9b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-4-31b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-4-26b-a4b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-3-1b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-3-4b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-3-12b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -268,8 +281,18 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||
| "learnlm-2.0-flash-experimental", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| ] | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| GEMINI_MODELS: list[GeminiModels] = [ | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.7-flash", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.6-flash", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.5-flash", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-pro-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3-pro-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3-flash-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.5-flash-lite", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-flash-lite", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3-pro-image", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-flash-image", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-flash-live-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-3.1-flash-tts-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Comment on lines
+284
to
+295
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick win Keep
Proposed fix "gemini-3.1-flash-image",
+ "gemini-3.1-flash-lite-image",
"gemini-3.1-flash-live-preview",📝 Committable suggestion
Suggested change
🤖 Prompt for AI Agents |
||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-2.5-pro", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-2.5-pro-preview-03-25", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-2.5-pro-preview-05-06", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
@@ -314,6 +337,8 @@ | |||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-robotics-er-1.5-preview", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-gemma-2-27b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemini-gemma-2-9b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-4-31b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-4-26b-a4b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-3-1b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-3-4b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
| "gemma-3-12b-it", | ||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Synchronize the localized documentation with the English updates.
The
ar,ko, andpt-BRpages still use older Gemini versions, and the correspondingkoandpt-BRlitellm-removal-guide.mdxpages are missing. Update the translated provider tables and model examples for the changed English pages before merge.📍 Affects 2 files
docs/edge/en/concepts/files.mdx#L177-L177(this comment)docs/edge/en/learn/litellm-removal-guide.mdx#L179-L179docs/edge/en/concepts/files.mdx#L177-L177🤖 Prompt for AI Agents
Source: Coding guidelines