mirror of
https://github.com/Yanyutin753/ChatGPT-Next-Web-LangChain-Gpt-4-All.git
synced 2025-10-14 23:22:45 +00: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