Skip to content

fix(model): refresh Gemini provider presets#421

Merged
c121914yu merged 1 commit into
mainfrom
codex/plugin-model-update-20260525-gemini
May 25, 2026
Merged

fix(model): refresh Gemini provider presets#421
c121914yu merged 1 commit into
mainfrom
codex/plugin-model-update-20260525-gemini

Conversation

@c121914yu

Copy link
Copy Markdown
Contributor

Summary

  • Add current Gemini embedding model IDs gemini-embedding-2 and gemini-embedding-001.
  • Remove Gemini presets that official docs mark as shut down or reaching shutdown date: gemini-3.1-flash-lite-preview, gemini-1.5-flash, gemini-1.5-pro, and text-embedding-004.

Evidence

Validation

  • node .codex/skills/model-provider-updater/scripts/model_provider_presets.mjs apply-plan --plan /private/tmp/gemini-provider-plan-20260525.json --dry-run
  • node .codex/skills/model-provider-updater/scripts/model_provider_presets.mjs inventory --provider Gemini
  • git diff --check
  • node_modules/.bin/tsc --noEmit

bun run test -- modules/model/provider/Gemini found no matching test files. Repo-wide bun run test was attempted and failed on existing temp-worktree alias resolution plus Feishu network authentication (open.feishu.cn DNS), unrelated to this provider-only change.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates the built-in Gemini provider model preset inventory to reflect current Google Gemini model availability, keeping the /models inventory aligned with official docs.

Changes:

  • Added current Gemini embedding presets: gemini-embedding-2 and gemini-embedding-001.
  • Removed deprecated/shutdown (or near-shutdown) Gemini presets: gemini-3.1-flash-lite-preview, gemini-1.5-flash, gemini-1.5-pro, and text-embedding-004.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions

Copy link
Copy Markdown

Build Successful - Preview Images for this PR:

registry.cn-hangzhou.aliyuncs.com/fastgpt/fastgpt-plugin-pr:5c4deb8a78acb6eea9c01cf1ca5dee289b2395b6

Changed packages:
None

@c121914yu
c121914yu merged commit d8866c4 into main May 25, 2026
6 checks passed
@c121914yu
c121914yu deleted the codex/plugin-model-update-20260525-gemini branch June 3, 2026 02:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants