Files
hermes-web-ui/docs/chat-chain-changes/2026-07-05-pr1944-coding-agent-api-mode.md
牧濑红莉栖(BOT) 0bfa9d2ed4 fix(coding-agent): 持久化会话 API 模式 (#1944)
* fix(coding-agent): persist API mode per session

* docs(chat-chain): document coding agent API mode persistence

---------

Co-authored-by: x1051445024 <你的GitHub注册邮箱>
2026-07-06 08:17:49 +08:00

712 B

date, pr, commit, feature, impact
date pr commit feature impact
2026-07-05 1944 4cb55e6 coding agent API mode persistence Scoped Codex / Claude Code sessions now persist the selected API mode and reuse it across session refreshes, model reselects, and service restarts instead of falling back to provider defaults.

代码代理会话现在会把 api_modemodel/provider 一起写入本地 session store,并在会话列表、resume、分叉和模型切换链路中保留该字段。

继续会话或服务重启后,coding-agent launch 会优先读取已保存的 API 模式;运行兼容性也会比较 apiMode,当 API 模式变化时会重启 scoped run 并清空原生会话 id,避免复用旧协议线程。