mirror of
https://github.com/morgan9e/chatgpt-web
synced 2026-04-13 16:04:05 +09:00
Allow streaming to work in background
This commit is contained in:
@@ -398,6 +398,7 @@
|
||||
})
|
||||
fetchEventSource(getApiBase() + getEndpointCompletions(), {
|
||||
...fetchOptions,
|
||||
openWhenHidden: true,
|
||||
onmessage (ev) {
|
||||
// Remove updating indicator
|
||||
updating = 1 // hide indicator, but still signal we're updating
|
||||
|
||||
Reference in New Issue
Block a user