diff --git a/src/infrastructure/api/chat/chatApi.ts b/src/infrastructure/api/chat/chatApi.ts index c8698b2..13ea78e 100644 --- a/src/infrastructure/api/chat/chatApi.ts +++ b/src/infrastructure/api/chat/chatApi.ts @@ -76,6 +76,7 @@ export const chatApi: IChatPort = { headers: { "Content-Type": "application/json" }, body: JSON.stringify(request), signal: ctrl.signal, + openWhenHidden: true, onmessage(ev) { if (ev.data === "[DONE]") return; if (!ev.data) return;