Skip to content

fix: update gopher examples to gemini-3.1-pro-preview (model removed from catalog) - #3961

Merged
aheritier merged 1 commit into
mainfrom
fix/update-gopher-model-gemini
Aug 10, 2026
Merged

fix: update gopher examples to gemini-3.1-pro-preview (model removed from catalog)#3961
aheritier merged 1 commit into
mainfrom
fix/update-gopher-model-gemini

Conversation

@aheritier

Copy link
Copy Markdown
Collaborator

🤖 Automated implementer agentthis comment was posted by the implementer bot from Docker Agentic Platform, not by a human developer

gemini-3-pro-preview was removed from the live models.dev catalog, breaking TestParseExamples on both Linux and Windows CI with:

model "gemini-3-pro-preview" not found in provider "google"

The test fetches the live catalog on CI (no pre-existing disk cache) and validates every model referenced in example files. The embedded snapshot fallback only kicks in when the network call fails, so the removal was immediately visible.

Changes:

  • examples/gopher.yaml and examples/gopher.hcl: replace google/gemini-3-pro-previewgoogle/gemini-3.1-pro-preview in the reviewer agent
  • pkg/modelsdev/snapshot.json + snapshot_date.txt: regenerated via go generate ./pkg/modelsdev/... to keep the baked-in fallback in sync

Testing: TestParseExamples passes locally after the fix. The pkg/rag/treesitter failures in the full run are a pre-existing CGO limitation in this sandbox, present on main as well.

gemini-3-pro-preview was removed from the live models.dev catalog,
causing TestParseExamples to fail on both Linux and Windows CI runners
with: 'model "gemini-3-pro-preview" not found in provider "google"'.

Switch the reviewer agent in examples/gopher.{yaml,hcl} to
gemini-3.1-pro-preview, its direct successor in the catalog.

Also regenerate pkg/modelsdev/snapshot.json so the baked-in fallback
snapshot stays in sync with the current live catalog.
@aheritier
aheritier marked this pull request as ready for review August 10, 2026 15:11
@aheritier
aheritier requested a review from a team as a code owner August 10, 2026 15:11
@aheritier aheritier added area/docs Documentation changes area/models LLM model integrations and model providers kind/fix PR fixes a bug (maps to fix:). Use on PRs only. labels Aug 10, 2026
@aheritier
aheritier merged commit 74e432f into main Aug 10, 2026
16 checks passed
@aheritier
aheritier deleted the fix/update-gopher-model-gemini branch August 10, 2026 19:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/docs Documentation changes area/models LLM model integrations and model providers kind/fix PR fixes a bug (maps to fix:). Use on PRs only.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants