fix: set openWhenHidden to be true

main
ShengYan, Zhang 3 years ago
parent 28e447ea4a
commit 94a2104b55

@ -126,6 +126,7 @@ export class ChatGPTApi implements LLMApi {
onerror(e) {
options.onError?.(e);
},
openWhenHidden: true,
});
} else {
const res = await fetch(chatPath, chatPayload);

Loading…
Cancel
Save