mirror of
				https://github.com/Yidadaa/ChatGPT-Next-Web.git
				synced 2025-11-04 16:57:27 +08:00 
			
		
		
		
	Merge branch 'main' of https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web
This commit is contained in:
		@@ -154,8 +154,10 @@ export class GeminiProApi implements LLMApi {
 | 
				
			|||||||
        let finished = false;
 | 
					        let finished = false;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        const finish = () => {
 | 
					        const finish = () => {
 | 
				
			||||||
          finished = true;
 | 
					          if (!finished) {
 | 
				
			||||||
          options.onFinish(responseText + remainText);
 | 
					            finished = true;
 | 
				
			||||||
 | 
					            options.onFinish(responseText + remainText);
 | 
				
			||||||
 | 
					          }
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
        // animate response to make it looks smooth
 | 
					        // animate response to make it looks smooth
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user