feat(agent): make model presets session-scoped (#4866)

This commit is contained in:
chengyongru authored and GitHub committed 2026-07-23 00:38:49 +08:00
1 parent 66690fdb0c
commit c22efb5f7a
41 files changed
+1140 -155

No files matched your search

+3 -1
View File
@@ -610,7 +610,9 @@ In chat:
/model fast
```
`/model` switching is runtime-only. It does not rewrite `config.json`, and an in-progress turn keeps using the model it started with.
`/model` stores the selection in the current session without rewriting `config.json`.
The selection survives restarts, does not affect other sessions, and an in-progress
turn keeps using the model it started with.
## Quick Failure Map