fix: correct Anthropic model IDs with valid release dates#1094
fix: correct Anthropic model IDs with valid release dates#1094elie222 merged 1 commit intoelie222:mainfrom
Conversation
The model IDs used 20250514 which doesn't correspond to any Anthropic model release, causing API calls to fail immediately. Updated to use the correct dates: 20250929 for Sonnet and 20251001 for Haiku. Fixes elie222#4
|
@matthew-petty is attempting to deploy a commit to the Inbox Zero OSS Program Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughVersion updates to Anthropic LLM model identifiers across configuration files. DEFAULT_LLM_MODEL upgraded from claude-sonnet-4-5-20250514 to claude-sonnet-4-5-20250929, and ECONOMY_LLM_MODEL from claude-haiku-4-5-20250514 to claude-haiku-4-5-20251001. No functional logic changes. Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~5 minutes
Possibly related PRs
Poem
Pre-merge checks and finishing touches❌ Failed checks (1 inconclusive)
✅ Passed checks (4 passed)
✨ Finishing touches
🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 📒 Files selected for processing (3)
🧰 Additional context used📓 Path-based instructions (11)**/*.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/data-fetching.mdc)
Files:
**/*.{ts,tsx,js,jsx}📄 CodeRabbit inference engine (.cursor/rules/prisma-enum-imports.mdc)
Files:
**/*.ts📄 CodeRabbit inference engine (.cursor/rules/security.mdc)
Files:
**/*.test.{ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/testing.mdc)
Files:
**/*.{tsx,ts}📄 CodeRabbit inference engine (.cursor/rules/ui-components.mdc)
Files:
**/*.{tsx,ts,css}📄 CodeRabbit inference engine (.cursor/rules/ui-components.mdc)
Files:
**/*.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)
Files:
**/*.{test,spec}.{js,jsx,ts,tsx}📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)
Files:
!(pages/_document).{jsx,tsx}📄 CodeRabbit inference engine (.cursor/rules/ultracite.mdc)
Files:
**/*.{js,ts,jsx,tsx}📄 CodeRabbit inference engine (.cursor/rules/utilities.mdc)
Files:
apps/web/**/{.env.example,env.ts,turbo.json}📄 CodeRabbit inference engine (apps/web/CLAUDE.md)
Files:
🧠 Learnings (9)📚 Learning: 2025-11-25T14:40:00.833ZApplied to files:
📚 Learning: 2025-11-25T14:38:07.606ZApplied to files:
📚 Learning: 2025-11-25T14:38:07.606ZApplied to files:
📚 Learning: 2025-11-25T14:37:56.430ZApplied to files:
📚 Learning: 2025-11-25T14:38:07.606ZApplied to files:
📚 Learning: 2025-11-25T14:38:07.606ZApplied to files:
📚 Learning: 2025-11-25T14:37:56.430ZApplied to files:
📚 Learning: 2025-11-25T14:37:56.430ZApplied to files:
📚 Learning: 2025-11-25T14:37:56.430ZApplied to files:
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (1)
🔇 Additional comments (3)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Update Anthropic default and economy model IDs to valid releases in
|
|
Thanks! |
Summary
While preparing a self-hosted deployment, we noticed our Anthropic API key showed no usage in the console. Docker logs revealed model name errors pointing to the invalid date suffix
20250514in our auto-generated.env. After updating to the correct release dates (20250929for Sonnet,20251001for Haiku), we started seeing usage in our Anthropic console.Test plan
Summary by CodeRabbit
Chores
✏️ Tip: You can customize this high-level summary in your review settings.