forked from XiaoMo/ChatGPT-Next-Web
fix: set openWhenHidden to be true
This commit is contained in:
parent
28e447ea4a
commit
94a2104b55
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user