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

+2
View File
@@ -797,6 +797,7 @@ describe("webui API helpers", () => {
created_at: "2026-05-01T10:00:00",
updated_at: "2026-05-01T10:01:00",
title: "优化 WebUI 标题",
model_preset: "fast",
run_started_at: 1_700_000_000,
},
],
@@ -808,6 +809,7 @@ describe("webui API helpers", () => {
key: "websocket:chat-1",
title: "优化 WebUI 标题",
preview: "",
modelPreset: "fast",
runStartedAt: 1_700_000_000,
},
]);