Skip to content

fix(go): remove gemini-3-pro-preview and claude-3-haiku@20240307#5127

Open
andyma-star wants to merge 1 commit intogenkit-ai:mainfrom
invertase:fix/go-model-deprecations-101
Open

fix(go): remove gemini-3-pro-preview and claude-3-haiku@20240307#5127
andyma-star wants to merge 1 commit intogenkit-ai:mainfrom
invertase:fix/go-model-deprecations-101

Conversation

@andyma-star
Copy link
Copy Markdown

Summary

  • Remove deprecated model references in Go plugins:
    • gemini-3-pro-preview (GoogleAI)
    • claude-3-haiku@20240307 (Vertex Model Garden)
  • Update the affected Go sample and live test to use active model IDs without changing existing workflow logic.
  • Keep docs aligned by removing deprecated model mention from the Go Google GenAI README.

Changes

  • go/plugins/googlegenai/models.go
    • Filter out deprecated dynamically listed models (gemini-3-pro-preview).
  • go/plugins/vertexai/modelgarden/models.go
    • Remove deprecated Anthropic model entry (claude-3-haiku@20240307).
  • go/plugins/googlegenai/googleai_live_test.go
    • Replace deprecated model usage with gemini-2.5-pro.
  • go/samples/multipart-tools/main.go
    • Replace deprecated model usage with googleai/gemini-2.5-pro.
  • go/plugins/googlegenai/README.md
    • Remove deprecated Gemini model mention.

Issues

Checklist (if applicable):

@github-actions github-actions bot added docs Improvements or additions to documentation go fix labels Apr 15, 2026
Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request deprecates the gemini-3-pro-preview model by updating documentation, tests, and samples to use gemini-2.5-pro, and implements a filtering mechanism for deprecated models in the Google AI plugin. Additionally, it removes the claude-3-haiku@20240307 model from the Vertex AI plugin. I have no feedback to provide.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Improvements or additions to documentation fix go

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant