mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 08:13:43 +08:00 
			
		
		
		
	Merge pull request #1573 from yanCode/fix/tab-change
fix: set openWhenHidden to be true
This commit is contained in:
		@@ -126,6 +126,7 @@ export class ChatGPTApi implements LLMApi {
 | 
			
		||||
          onerror(e) {
 | 
			
		||||
            options.onError?.(e);
 | 
			
		||||
          },
 | 
			
		||||
          openWhenHidden: true,
 | 
			
		||||
        });
 | 
			
		||||
      } else {
 | 
			
		||||
        const res = await fetch(chatPath, chatPayload);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user