Skip to content

Gemini models update. - #76

Open
npatsakula wants to merge 1 commit into
flachesis:mainfrom
npatsakula:model_cleanup
Open

Gemini models update.#76
npatsakula wants to merge 1 commit into
flachesis:mainfrom
npatsakula:model_cleanup

Conversation

@npatsakula

Copy link
Copy Markdown
Collaborator

Fixes #75

Syncs the Model enum with the Gemini API model lineup.

Changes:

  • Default model is now Model::Gemini37Flash (gemini-3.7-flash) — gemini-2.5-flash is no
    longer available to newly created API keys
  • Added current models: Gemini 3.6/3.5/3.1 Flash family, gemini-3.1-pro-preview,
    Nano Banana 2 image models, TTS models, gemini-omni-flash, gemini-2.5-computer-use-preview,
    and embeddings (gemini-embedding-2, gemini-embedding-001)
  • Fixed stale mappings: Gemini3ProImage → GA gemini-3-pro-image; Gemini::pro() now uses
    Model::Gemini31Pro
  • Deprecated: Model::Gemini3Pro and Model::TextEmbedding004 (both shut down server-side),
    with migration notes
  • Updated README, crate docs, doc examples, and examples off shut-down models

@npatsakula
npatsakula requested a review from flachesis August 18, 2026 09:34
@npatsakula npatsakula added the enhancement New feature or request label Aug 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

New Models are missing from the model enum

1 participant