Skip to content

feat(agent): 统一 Agent、会话与 Workbench 模型参数链路 - #4121

Merged
YehongPan merged 28 commits into
developfrom
feature/model-outlet-services
Nov 4, 2026
Merged

YehongPan merged 28 commits into
developfrom
feature/model-outlet-services

Conversation

@JasonW404

@JasonW404 JasonW404 commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

统一 Agent、普通会话、Workbench 和创建助手的模型参数保存与调用来源。

  • 按模型出口 → Agent → 会话分层覆盖,预检、已有会话 GET/PATCH 和运行使用一致的有效配置。
  • 前后端同步采用 Workbench schema 4 和 canonical 偏好,补齐真实模型列表字段映射及 Agent 编辑器保存、重开与无修改确认。
  • Token 长度限制由模型管理配置;迁移历史 Workbench 数据,保留历史参数读取转换。
  • 恢复 Agent 订阅依赖的会话读取导出,迁移 D2 正式用例与共享 helper,并覆盖已有会话预算修改、清除和续调。

验证:本轮定向 Python 41 项、前端 46 项及 TypeScript 检查通过;D2/D3 正式用例通过;独立 AMD64 镜像部署及真实 Qwen/Phoenix 参数保存、修改、续调验证通过。本轮浏览器交互复验因控制工具不可用尚未完成。最新 CI 全部通过:23,597 passed、32 skipped,总覆盖率 92.1%;Codecov 最新报告显示所有修改且可覆盖的行均已覆盖。

目标分支:develop;后续:#4122、#4097。

@JasonW404
JasonW404 force-pushed the feature/model-outlet-services branch from 64868ae to d66bae0 Compare October 21, 2026 08:28
@JasonW404 JasonW404 changed the title [WIP] 旧模型配置迁移与后端统一服务 [WIP] Agent 与会话统一模型参数 Oct 21, 2026
@JasonW404
JasonW404 force-pushed the feature/model-outlet-services branch from d66bae0 to d91fff8 Compare October 27, 2026 06:18
@JasonW404
JasonW404 force-pushed the feature/model-outlet-services branch 2 times, most recently from 5b967fb to 62655ef Compare October 28, 2026 02:09
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.

4 participants