Repository navigation
feat(model): support dynamic OpenAI-compatible model discovery - #1470
Merged
Merged
Conversation
Contributor
Author
|
LGTM |
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.
通用 OpenAI 的基础模型候选来自静态配置,无法反映当前兼容服务实际提供的模型。本次增加手动获取列表,保留搜索、手动输入及已有配置,获取失败不会阻断模型配置。
验证
基于功能提交
6fd5e12ee3ff41ca3976ae93097757d56f89f5cb:npm --prefix tests/browser test -- --config=model-discovery.config.mjs:5 项通过,覆盖真实表单与编辑抽屉、列表去重、手动输入、加载状态、过期响应、失败/空列表配置保留及原抽屉交互。cd frontend && npm run build:通过。git diff --check:通过。测试使用合成凭据与隔离服务,未连接真实供应商或业务数据库;权限用例提取实际 handler 并使用真实权限装饰器,不代表完整应用认证中间件和登录/保存流程的端到端验收。
当前 main 为
6dcad1768739a16138db037fe18b932dd9bd1ccb,已通过 merge-tree 检查可自动合并;上述回归针对功能提交,未在合并结果上重复执行。