Skip to content

feat(agent-profiles): 编辑变体实际参数并正确保存 (B05) - #27

Closed
ChenM0M wants to merge 4 commits into
codex/agent-config-b04-thinking-parametersfrom
codex/agent-config-b05-variant-editor
Closed

ChenM0M wants to merge 4 commits into
codex/agent-config-b04-thinking-parametersfrom
codex/agent-config-b05-variant-editor

Conversation

@ChenM0M

@ChenM0M ChenM0M commented Sep 22, 2026 •

Copy link
Copy Markdown
Owner

变体原先只能编辑名称,而且名称不变时参数修改不会写入。现在每个 OpenCode 变体都有思考参数、温度、禁用开关及完整 JSON 对象编辑器。保存会检测参数变化,并保留未编辑的嵌套字段;非法对象和表单预算会阻止提交。参数只写入原生配置,不扩展网关协议转换能力。

基于 #26。复用思考参数表单时加入独立控件 ID。

验证:TypeScript、前端同名修改/未知字段/删除/非法值检查、24 个实际命令模块 harness 测试通过;额外执行同名变体修改后的原生保存/重读回归通过。没有执行桌面 GUI 或 Windows 原生测试。

2026-09-23 repair verification

  • Current head: dbb45d0c44d22309428d4bad31065feb8c2afff1.
  • Three-platform Build and Test: passed (attempt 1).
  • Integrated with the other Agent configuration changes in fix: integrate Agent configuration PRs and repair cross-platform validation #33, whose current candidate also passed three-platform CI.
  • Native GUI / Windows host / WSL release acceptance remains separate and is not inferred from CI.
  • Browser integration testing found an oversized model dialog. The viewport scrolling fix is included in this branch and was rechecked interactively.

@ChenM0M

ChenM0M commented Sep 23, 2026

Copy link
Copy Markdown
Owner Author

内容已随整合 PR #33 合入 main (e3cb573)。此 PR 为被取代的分支/栈式 PR,按用户指示关闭;分支保留,未删除。

@ChenM0M ChenM0M closed this Sep 23, 2026
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.

1 participant