feat(console): add LLM routing UI (settings + chat selector)#3452
Draft
vvv214 wants to merge 1 commit into
Draft
feat(console): add LLM routing UI (settings + chat selector)#3452vvv214 wants to merge 1 commit into
vvv214 wants to merge 1 commit into
Conversation
|
Hi @vvv214, this is your 7th Pull Request. 📋 About PR TemplateTo help maintainers review your PR faster, please make sure to include:
Complete PR information helps speed up the review process. You can edit the PR description to add these details. 🙌 Join Developer CommunityThanks so much for your contribution! We'd love to invite you to join the official QwenPaw developer group! You can find the Discord and DingTalk group links under the "Developer Community" section on our docs page: We truly appreciate your enthusiasm—and look forward to your future contributions! 😊 We'll review your PR soon. |
591109c to
8af7599
Compare
f961b2d to
50f5d87
Compare
514cdd4 to
afac619
Compare
11 tasks
ee8904c to
21a001f
Compare
f294871 to
82fc86f
Compare
82fc86f to
8838ec3
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Description
Adds a Routing card under Settings > Models plus a routing-aware section in the Chat model selector.
This PR is console-only. It should be reviewed and merged after
#3550, because it relies on the backend/runtime routing semantics introduced there:GET/PUT /config/agents/llm-routing?agent_id=.../models/active?scope=effective&agent_id=...Without
#3550, the UI can render and round-trip config, but agent-scoped routing behavior will not be fully aligned at runtime.Related Issue: Relates to #849
Security Considerations: No new auth surface. UI only; uses existing backend APIs.
Type of Change
Component(s) Affected
Checklist
Testing
GET/PUT /config/agents/llm-routing?agent_id=.../models/active?scope=effective&agent_id=...Local Verification Evidence
pre-commitchecks on touched frontend files passed previously on this branch.Notes
#3550is a prerequisite backend/runtime PR.mainand conflict-resolved inconsole/src/pages/Chat/ModelSelector/index.tsx.npm run buildon this machine currently hits an unrelated@ant-design/plotsresolution error undersrc/pages/Settings/AgentStats/index.tsx; this does not come from the routing UI diff itself.