Repository navigation
remove: drop support for claude-2 and claude-1 series models - #2853
Conversation
- Remove claude-instant-1.2, claude-2, claude-2.0, claude-2.1 from model lists - Remove /v1/complete endpoint support (legacy completion API) - Remove RequestModeCompletion and related code paths - Simplify handler functions by removing requestMode parameter - Update all channel adaptors that referenced claude handlers
WalkthroughThis PR refactors Claude response handling by removing explicit RequestMode parameter passing from handler functions. The handlers now rely on claudeResponse.Type for determining response behavior. This includes updating all handler signatures, removing RequestMode constants and fields, removing deprecated Claude model entries, and updating all call sites across multiple channel adaptors. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~28 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing touches
🧪 Generate unit tests (beta)
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 |
…gacy-models remove: drop support for claude-2 and claude-1 series models
…gacy-models remove: drop support for claude-2 and claude-1 series models
…gacy-models remove: drop support for claude-2 and claude-1 series models
Summary by CodeRabbit
Removed Features
Refactor