Skip to content

Commit

Permalink
fix: set openWhenHidden to be true
Browse files Browse the repository at this point in the history
  • Loading branch information
yanCode committed May 17, 2023
1 parent 28e447e commit 94a2104
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/client/platforms/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ export class ChatGPTApi implements LLMApi {
onerror(e) {
options.onError?.(e);
},
openWhenHidden: true,
});
} else {
const res = await fetch(chatPath, chatPayload);
Expand Down

0 comments on commit 94a2104

Please sign in to comment.