mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 14:32:42 +08:00
Merge pull request #1573 from yanCode/fix/tab-change
fix: set openWhenHidden to be true
This commit is contained in:
@@ -126,6 +126,7 @@ export class ChatGPTApi implements LLMApi {
|
|||||||
onerror(e) {
|
onerror(e) {
|
||||||
options.onError?.(e);
|
options.onError?.(e);
|
||||||
},
|
},
|
||||||
|
openWhenHidden: true,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
const res = await fetch(chatPath, chatPayload);
|
const res = await fetch(chatPath, chatPayload);
|
||||||
|
Reference in New Issue
Block a user