refactor: remove legacy workspace UI state

This commit is contained in:
2026-08-10 22:56:00 +02:00
parent fc19b0d67c
commit 90684c3280
12 changed files with 283 additions and 130 deletions
+1 -3
View File
@@ -23,9 +23,7 @@ test("F1: create session -> widget via SSE -> respond -> POST /response", async
http.get("/api/settings", () => HttpResponse.json({
workspace: "default", provider: "zai", model: "glm-5.2", thinking: "low",
})),
http.get("/api/workspaces", () =>
HttpResponse.json([{ name: "default", file: "default.db" }]),
),
http.get("/api/workspaces", () => HttpResponse.json([])),
http.get("/api/models", () => HttpResponse.json({ models: [] })),
http.post("/api/sessions/s1/response", async ({ request }) => {
responded = await request.json();