refactor(webui): infer fallback from active model

This commit is contained in:
chengyongru authored and chengyongru committed 2026-08-21 16:49:30 +08:00
1 parent 7f97373490
commit 953d2ed217
9 files changed
+8 -19

No files matched your search

-2
View File
@@ -1724,7 +1724,6 @@ describe("NanobotClient", () => {
chat_id: "chat-a",
model_name: "deepseek/deepseek-chat",
model_preset: "Deep Research",
is_fallback: true,
});
expect(chatHandler).toHaveBeenCalledWith({
@@ -1732,7 +1731,6 @@ describe("NanobotClient", () => {
chat_id: "chat-a",
model_name: "deepseek/deepseek-chat",
model_preset: "Deep Research",
is_fallback: true,
});
});