fix: set openWhenHidden to be true

This commit is contained in:
ShengYan, Zhang 2023-05-17 17:20:17 +08:00
parent 28e447ea4a
commit 94a2104b55
1 changed files with 1 additions and 0 deletions

View File

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