fix: replace retired claude-3-5-haiku-20241022 with claude-haiku-4-5#1719
Merged
Conversation
Closes kagent-dev#1695. claude-3-5-haiku-20241022 returns a 404 from the Anthropic API so a fresh install with the anthropic provider fails at chat time with no indication during install. Updated the default model in values.yaml and the matching helm unit test to claude-haiku-4-5. Also updated the AnthropicVertexAI model list in the models handler to the equivalent Vertex AI model ID. Signed-off-by: mesutoezdil <mesudozdil@gmail.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates Kagent’s default Anthropic model configuration to avoid deploying a retired model that now 404s at runtime, and aligns the supported-models list for Anthropic Vertex AI accordingly.
Changes:
- Update Helm chart default Anthropic model from
claude-3-5-haiku-20241022toclaude-haiku-4-5. - Update Helm unit test expectation for the rendered
ModelConfigspec model. - Update
AnthropicVertexAIsupported model list entry fromclaude-3-5-haiku@20241022toclaude-haiku-4-5@20251001.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
| helm/kagent/values.yaml | Switches the chart’s default Anthropic model to a non-retired model. |
| helm/kagent/tests/modelconfig_test.yaml | Keeps Helm unit test aligned with the new default Anthropic model. |
| go/core/internal/httpserver/handlers/models.go | Updates the supported-model list for AnthropicVertexAI to the new model ID. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
298
to
303
| anthropic: | ||
| provider: Anthropic | ||
| model: "claude-3-5-haiku-20241022" | ||
| model: "claude-haiku-4-5" | ||
| apiKeySecretRef: kagent-anthropic | ||
| apiKeySecretKey: ANTHROPIC_API_KEY | ||
| # apiKey: "" |
EItanya
approved these changes
Apr 20, 2026
EItanya
approved these changes
Apr 21, 2026
Huimintai
pushed a commit
to Huimintai/kagent
that referenced
this pull request
Apr 21, 2026
…agent-dev#1719) Closes kagent-dev#1695. claude-3-5-haiku-20241022 now returns a 404 from the Anthropic API. Installing with the anthropic provider works fine but every chat request fails immediately. There is no error during install so the user has no idea what went wrong. Changed the default model in values.yaml and the matching helm unit test to claude-haiku-4-5. Also updated the AnthropicVertexAI entry in the models handler from claude-3-5-haiku@20241022 to claude-haiku-4-5@20251001. Signed-off-by: mesutoezdil <mesudozdil@gmail.com> Co-authored-by: Eitan Yarmush <eitan.yarmush@solo.io>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1695.
claude-3-5-haiku-20241022 now returns a 404 from the Anthropic API. Installing with the anthropic provider works fine but every chat request fails immediately. There is no error during install so the user has no idea what went wrong.
Changed the default model in values.yaml and the matching helm unit test to claude-haiku-4-5. Also updated the AnthropicVertexAI entry in the models handler from claude-3-5-haiku@20241022 to claude-haiku-4-5@20251001.