fix(webui): avoid phantom reasoning on empty streams
This commit is contained in:
1 parent
c3403e6a6f
commit
b49218b6a3
8 files changed
+299
-50
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user