feat(model-config): 支持渠道分组与上游模型发现#194
Open
Shmilylkw wants to merge 6 commits into
Open
Conversation
added 6 commits
July 11, 2026 00:22
- 支持分组新增、编辑、删除、激活及组内模型管理 - 支持从 OpenAI/Anthropic 兼容上游发现模型并安全合并 - 增加自定义请求头、接口路径和 IPv4/IPv6 快速回退 - 仅向 Cursor 发布当前激活分组并拒绝旧缓存路由
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.
变更内容
本 PR 将模型配置从“单个模型平铺列表”扩展为“按渠道分组管理”,并只把当前启用分组的模型同步给 Cursor,避免 Cursor 侧一次性出现大量第三方模型。
渠道分组管理
modelGroups上游模型发现
批量配置与测速
reasoningEffortanthropicThinkingEffort安全与稳定性
验证
npm.cmd test:前端测试 12/12 通过npm.cmd run build:前端 production build 通过go test ./internal/backend/server/config ./internal/modelchannel通过bin/windows-64.exe/bin/windows-64.zip