gemini-api profile defaults to gemini-2.5-flash, which Google reroutes from 2026-12-01

Open Beginner friendly
#2,422 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 4 days

@EslamOsama00 is already working on this.

Since Nov 26, 2026.

  • #2423 by @EslamOsama00 — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
82/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
rust
Domain
ai, cli

Research direction

Read the GEMINI_OPENAI_COMPAT_PROFILE definition in crates/jcode-provider-metadata/src/catalog.rs and verify Google's deprecation details linked in the issue. Check how the profile's default model is used for a fresh gemini-api login; done means the default points to a current model and matches the intended behavior described in the issue.

Written by the indexing model from the issue text.

Description

GEMINI_OPENAI_COMPAT_PROFILE in crates/jcode-provider-metadata/src/catalog.rs:161 uses default_model: Some("gemini-2.5-flash"). Google's deprecations page says that from 2026-12-01 requests to gemini-2.5-flash are routed to gemini-3.5-flash-lite (no error, a different model): https://aistudio.google.com/docs/deprecations

Expected: a fresh gemini-api login activates a current model. Actual (from 2026-12-01): it activates gemini-2.5-flash, served as gemini-3.5-flash-lite. I can send a one-line PR switching the default to gemini-3.8-flash (or gemini-3.5-flash-lite, Google's routing target).

Dominant language
Rust
Stars
19.9k
Forks
2.3k
Avg merge
1d 8h
Merged PRs (30d)
1

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from 1jehuang/jcode

All issues in 1jehuang/jcode

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.