Skip to content

fix: Fix retired claude-3-haiku-20240307 default causing sandbox run failures (#24)#51

Merged
nojibe merged 1 commit into
mainfrom
claude/github-issue-24-cnk7a6
Jul 1, 2026
Merged

fix: Fix retired claude-3-haiku-20240307 default causing sandbox run failures (#24)#51
nojibe merged 1 commit into
mainfrom
claude/github-issue-24-cnk7a6

Conversation

@nojibe

@nojibe nojibe commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Fixes #24. Sandbox/playground runs that kept the default model list were failing generation with a 404 from Anthropic:

Anthropic API Error: 404 Not Found - {"type":"not_found_error","message":"model: claude-3-haiku-20240307"}

anthropic:claude-3-haiku-20240307 has been retired on the direct Anthropic API, and the client (src/lib/llm-clients/anthropic-client.ts) passes the model ID straight through to /v1/messages, so the call 404s. Because the failed generation produces no gradable output, the run's Macro Coverage Overview also showed 0%.

This model was hardcoded as a default in three places, so every run keeping the defaults hit it.

Changes

Replaced the retired anthropic:claude-3-haiku-20240307 with the current anthropic:claude-3-5-haiku-20241022 (already present in model-version-registry.ts) in the default model lists:

  • src/app/api/sandbox/run/route.tsDEFAULT_ADVANCED_MODELS
  • src/app/api/v1/evaluations/run/route.ts — API default models
  • src/app/sandbox/components/RunEvaluationModal.tsx — playground available + default model lists

Test plan

  • Run a sandbox evaluation with the defaults and confirm the Haiku model returns a 200 and Macro Coverage populates (requires ANTHROPIC_API_KEY; not runnable in this environment).
  • Verified by inspection: no remaining references to the retired model ID in the changed default lists; the replacement ID is a registered, current model.

Risks

Related Issues

🤖 Generated with Claude Code

https://claude.ai/code/session_01L1QemnhVU3wqvW8RPHcwx2


Generated by Claude Code

…haiku

The direct Anthropic model claude-3-haiku-20240307 has been retired and now
returns 404 not_found_error from the Anthropic API, causing sandbox/playground
runs that keep the defaults to fail generation (and show 0% coverage).

Swap the hardcoded default to the current anthropic:claude-3-5-haiku-20241022
in the sandbox run route, the v1 evaluations run route, and the playground
model selector.

Refs #24

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01L1QemnhVU3wqvW8RPHcwx2
@railway-app railway-app Bot temporarily deployed to weval / app-pr-51 July 1, 2026 17:59 Destroyed
@nojibe nojibe changed the title Fix retired claude-3-haiku-20240307 default causing sandbox run failures (#24) fix: Fix retired claude-3-haiku-20240307 default causing sandbox run failures (#24) Jul 1, 2026
@nojibe nojibe merged commit f185ede into main Jul 1, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Weval.org Results Page Error

2 participants