Skip to content

fix(ai): replace retired Claude model defaults - #123

Merged
catomean merged 1 commit into
mainfrom
fix/retired-claude-defaults
Jul 28, 2026
Merged

fix(ai): replace retired Claude model defaults#123
catomean merged 1 commit into
mainfrom
fix/retired-claude-defaults

Conversation

@catomean

Copy link
Copy Markdown
Collaborator

Summary

  • agents/research-agent/src/providers.py: Anthropic provider default claude-sonnet-4-20250514 (deprecated, retires June 2026) → claude-sonnet-5. The existing RESEARCH_MODEL env override already covers config-driven selection — no new plumbing needed (YAGNI).
  • lib/constants.ts: OPENROUTER_DEFAULT_MODEL anthropic/claude-3.5-sonnet (retired Oct 2025 — dead slug) → anthropic/claude-sonnet-5, verified against OpenRouter's live /api/v1/models list.
  • tests/__tests__/lib/llm-client.test.ts: fixtures updated to match.

Verification

npm run verify gate green: prettier ✓, eslint (max-warnings 0) ✓, jest 227 passed / 2 skipped ✓, next build ✓. No pre-existing failures encountered.

🤖 Generated with Claude Code

- providers.py: claude-sonnet-4-20250514 (deprecated, retires Jun 2026) -> claude-sonnet-5
- constants.ts: anthropic/claude-3.5-sonnet (retired Oct 2025 on OpenRouter) -> anthropic/claude-sonnet-5 (verified against OpenRouter's live model list)
- test fixtures updated to match

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@catomean
catomean marked this pull request as ready for review July 28, 2026 14:38
@catomean
catomean merged commit d518904 into main Jul 28, 2026
2 checks passed
@catomean
catomean deleted the fix/retired-claude-defaults branch July 28, 2026 14:38
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.

1 participant