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

@@ -2942,6 +2942,7 @@ def test_sessions_list_includes_active_run_started_at(monkeypatch) -> None:
"updated_at": "2026-05-19T10:01:00Z",
"title": "Running",
"preview": "work",
"model_preset": "fast",
"path": "/private/path",
},
{
@@ -2978,6 +2979,7 @@ def test_sessions_list_includes_active_run_started_at(monkeypatch) -> None:
"updated_at": "2026-05-19T10:01:00Z",
"title": "Running",
"preview": "work",
"model_preset": "fast",
"run_started_at": 1_700_000_000.0,
}
]