Skip to content

feat(web): 优化模型接入、档案近似匹配与连通性检测 - #4097

Open
JasonW404 wants to merge 18 commits into
developfrom
feature/model-onboarding
Open

JasonW404 wants to merge 18 commits into
developfrom
feature/model-onboarding

Conversation

@JasonW404

@JasonW404 JasonW404 commented Oct 14, 2026 •

Copy link
Copy Markdown
Member

完善模型的单个新增、批量导入和出口编辑,统一档案选择、参数草稿与连通性反馈。

  • 新增与编辑复用档案预览,保留手选档案、参数及密钥的保留/替换/清除语义。
  • 区分 HTTP Header 与请求 Body,配置变化后使旧检测结果失效;迁移检查复用编辑入口。
  • 非 LLM 保持原有专用鉴权和逐模型配置;旧链路无法兑现的新增共享连接选项会明确提示并阻止检测、添加,避免静默丢配置。

本轮连接边界及相邻组件回归 14 项、TypeScript 和正式资产静态校验通过,主/前端镜像已构建部署。

前置:#4122;本系列最后一层。

前端变更截图

模型管理 → 新增模型 → 单个新增 LLM:基本连接信息、模型档案选择,以及展开后的思考/采样参数、容量配置、Header/Body、TLS 和超时设置。

image

模型管理 → 新增模型 → 批量添加:获取模型列表后的选择、类型、逐模型配置及检测状态。

image image image image image

模型管理 → 已有 LLM → 编辑:已保存参数的回显、密钥保留/替换/清除入口,以及连接配置。

image

模型管理 → 模型列表:连通状态、检测结果提示;若存在迁移模型,同时截图迁移状态标记及其编辑确认入口。

image

Agent 管理 → 编辑 Agent → 运行策略:确认已移除“输出预留 Token”覆盖入口。

image

Agent 编辑 → 模型参数弹窗:确认已移除上下文、最大输入、最大输出、输出预留四项 Token 容量覆盖入口;思考、温度等参数仍保留。

image

Comment thread test-e2e/cases/MPC-D1-001/test.py Fixed
@JasonW404
JasonW404 force-pushed the feature/model-onboarding branch from d4d7687 to 72f9fee Compare October 16, 2026 04:29
@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 92.72727% with 8 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
backend/management/services/model/profiles.py 88.23% 5 Missing and 3 partials ⚠️

📢 Thoughts on this report? Let us know!

@JasonW404
JasonW404 force-pushed the feature/model-onboarding branch 2 times, most recently from 1042f81 to f87fdb4 Compare October 16, 2026 07:30
@JasonW404
JasonW404 force-pushed the feature/model-onboarding branch from f87fdb4 to 1b0b664 Compare October 16, 2026 08:34
@JasonW404
JasonW404 force-pushed the feature/model-onboarding branch from 1b0b664 to bd01789 Compare October 19, 2026 02:10
@JasonW404
JasonW404 force-pushed the feature/model-onboarding branch from bd01789 to c697d8e Compare October 19, 2026 02:18
@JasonW404
JasonW404 force-pushed the feature/model-onboarding branch 2 times, most recently from bc49a03 to df5985a Compare November 2, 2026 08:07
@JasonW404
JasonW404 force-pushed the feature/model-onboarding branch 2 times, most recently from 10a621f to 3ce13c7 Compare November 2, 2026 09:01
@JasonW404
JasonW404 force-pushed the feature/model-onboarding branch from 3ce13c7 to b42ed95 Compare November 2, 2026 10:42
@JasonW404
JasonW404 force-pushed the feature/model-onboarding branch from b42ed95 to a7a05d3 Compare November 2, 2026 13:43

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants