fix(webui): avoid phantom reasoning on empty streams

This commit is contained in:
chengyongru authored and chengyongru committed 2026-11-12 17:34:07 +08:00
1 parent c3403e6a6f
commit b49218b6a3
8 files changed
+299 -50

No files matched your search

+2 -1
View File
@@ -8,7 +8,8 @@ import { ClientProvider } from "@/providers/ClientProvider";
export function AnswerOrderFixture() {
const [client] = useState(() => new NanobotClient({
url: `ws://${location.host}/answer-order-socket`, reconnect: false,
url: `ws://${location.host}/answer-order-socket`,
reconnect: new URLSearchParams(location.search).get("reconnect") === "1",
}));
const [cache] = useState(() => new ThreadMessageCache(() => false));
const [chatId, setChatId] = useState("answer-order");