Skip to content

kagent install uses retired Anthropic model claude-3-5-haiku-20241022 with no validation #1695

Closed

Description

@tjorourke

Summary

kagent install with the Anthropic provider deploys claude-3-5-haiku-20241022 which Anthropic has retired. Every agent fails immediately with:

Error code: 404 - {'type': 'error', 'error': {'type': 'not_found_error', 'message': 'model: claude-3-5-haiku-20241022'}}

Root cause

The model is hardcoded in helm/kagent/values.yaml:

anthropic:
  provider: Anthropic
  model: "claude-3-5-haiku-20241022"   # retired

Impact

A fresh kagent install --profile demo --provider anthropic is broken out of the box. The user sees no error during install — the failure only surfaces when they try to chat with an agent.

Two requested fixes

1. Update the default model to the current Haiku release:

anthropic:
  model: "claude-haiku-4-5-20251001"   # Haiku 4.5 — current

2. Add model validation at install time — before writing the ModelConfig into the cluster, make a lightweight API call to verify the model ID is active. This catches retired or mistyped model names immediately with a clear error, rather than silently deploying a broken configuration that only fails mid-chat.

Error: Anthropic model 'claude-3-5-haiku-20241022' is not available.
Did you mean 'claude-haiku-4-5-20251001'? Run 'kagent models list --provider anthropic' to see available models.

Workaround

kubectl patch modelconfig default-model-config -n kagent \
  --type=merge \
  -p "{\"spec\":{\"model\":\"claude-haiku-4-5-20251001\"}}"```

Activity

  1. added a commit that references this issue on Apr 21, 2026
    9d50a88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions