mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-20 02:46:04 +08:00
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