Skip to content

chore: refresh Gemini model limits#464

Closed
c121914yu wants to merge 1 commit into
labring:mainfrom
c121914yu:codex/model-provider-refresh-20260615-audit
Closed

chore: refresh Gemini model limits#464
c121914yu wants to merge 1 commit into
labring:mainfrom
c121914yu:codex/model-provider-refresh-20260615-audit

Conversation

@c121914yu

Copy link
Copy Markdown
Contributor

Summary

  • Refresh Gemini static preset token limits from the official Gemini model docs.
  • Align existing Gemini 3.1 Pro Preview, Gemini 3 Flash Preview, and Gemini 2.5 LLM presets to the documented 1,048,576 input-token / 65,536 output-token limits.
  • Leave model membership unchanged; no additions or removals were made.

Evidence

Checked on 2026-06-15:

Validation

Passed:

  • node .codex/skills/model-provider-updater/scripts/model_provider_presets.mjs inventory --provider Gemini
  • git diff --check
  • ./node_modules/.bin/eslint packages/infrastructure/src/static-data/models/provider/Gemini/index.ts
  • Direct ./node_modules/.bin/tsx import assertion for the six updated Gemini token limits

Known unrelated local failures still reproduce:

  • pnpm typecheck fails in sdk/factory because local Zod v3 lacks GlobalMeta, .meta(), and toJSONSchema.
  • pnpm test passes 24 files / 165 tests and fails sdk/factory/src/tool-factory.test.ts:280 with default.string(...).meta is not a function; .env.test is also missing locally.

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.

1 participant