Merge pull request #1573 from yanCode/fix/tab-change

fix: set openWhenHidden to be true
This commit is contained in:
Yifei Zhang 2023-05-17 18:18:56 +08:00 committed by GitHub
commit db29fed99a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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);