소스 검색

fix: set openWhenHidden to be true

ShengYan, Zhang 1 년 전
부모
커밋
94a2104b55
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/client/platforms/openai.ts

+ 1 - 0
app/client/platforms/openai.ts

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