Repository navigation
feat:default enable channel affinity - #2809
Calcium-Ion merged 1 commit into
Conversation
WalkthroughThe pull request enables channel affinity functionality and adds two tracing rules for code model routing. The backend configuration now includes active rules matching GPT and Claude models to specific API endpoints with custom data extraction patterns. Frontend UI labels are updated to reflect these changes. Changes
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes 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 |
There was a problem hiding this comment.
Actionable comments posted: 0
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
web/src/pages/Setting/Operation/SettingsChannelAffinity.jsx (1)
68-82:⚠️ Potential issue | 🟡 MinorAlign template name with backend default to avoid duplicate rules.
Line 81 uses
claude-code trace, but the backend default rule name isclaude code trace. This causes the template appender to treat the default as a different rule name and add a near-duplicate. Pick one spelling and keep both sides consistent.✅ Suggested fix (match backend default)
- name: 'claude-code trace', + name: 'claude code trace',
Summary by CodeRabbit
New Features
Updates