Skip to content

feat(go/plugins/vertexai): Model Garden support for Claude 4.6 and 4.7#5031

Open
cabljac wants to merge 3 commits intogenkit-ai:mainfrom
invertase:feat/add-go-claude4.6-models
Open

feat(go/plugins/vertexai): Model Garden support for Claude 4.6 and 4.7#5031
cabljac wants to merge 3 commits intogenkit-ai:mainfrom
invertase:feat/add-go-claude4.6-models

Conversation

@cabljac
Copy link
Copy Markdown
Contributor

@cabljac cabljac commented Mar 31, 2026

Summary

  • Registers three Claude models in the Vertex Model Garden plugin:

    • claude-sonnet-4-6 (Claude 4.6 Sonnet)
    • claude-opus-4-6 (Claude 4.6 Opus)
    • claude-opus-4-7 (Claude 4.7 Opus)
  • Adds matching demo flows in go/samples/modelgarden/main.go:

    • claudeSonnet46VertexModelGardenFlow
    • claudeOpus46VertexModelGardenFlow
    • claudeOpus47VertexModelGardenFlow
  • Each sample flow passes MaxTokens in the Anthropic request config so Model Garden requests are valid.

Test plan

  • gofmt on changed Go files
  • go test ./go/plugins/vertexai/modelgarden/...
  • go build ./go/plugins/vertexai/modelgarden/... ./go/samples/modelgarden/...
  • go vet clean
  • Dev UI reflection verified for:
    • /model/vertexai/claude-sonnet-4-6
    • /model/vertexai/claude-opus-4-6
    • /model/vertexai/claude-opus-4-7
    • /flow/claudeSonnet46VertexModelGardenFlow
    • /flow/claudeOpus46VertexModelGardenFlow
    • /flow/claudeOpus47VertexModelGardenFlow
  • Manual flow execution: Sonnet 4.6 returns text successfully.

Checklist

  • PR title follows Conventional Commits
  • Tested (package tests + manual Dev UI run)
  • Docs updated (not required for this code-only change)

Closes #136
Closes #137

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 adds support for Claude Sonnet 4.6 and Claude Opus 4.6 models to the Vertex AI Model Garden plugin and includes sample flows demonstrating their usage. Feedback was provided regarding the naming consistency of the model labels to ensure they align with existing patterns in the codebase.

Comment thread go/plugins/vertexai/modelgarden/models.go
Comment thread go/samples/basic/main.go
Comment thread go/plugins/vertexai/modelgarden/models.go
@andyma-star andyma-star force-pushed the feat/add-go-claude4.6-models branch from 6d582d4 to beee7c1 Compare April 7, 2026 09:27
@andyma-star andyma-star force-pushed the feat/add-go-claude4.6-models branch from beee7c1 to c52a83a Compare April 7, 2026 09:28
@cabljac cabljac changed the title feat(go/plugins/vertexai): Add flows for Claude Sonnet 4.6 and Claude Opus 4.6 models in Vertex Model Garden feat(go/plugins/vertexai): Model Garden support for Claude 4.6 and 4.7 Apr 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Improve error messages when PROJECT ID is missing

3 participants