mirror of
				https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
				synced 2025-11-04 16:23:41 +08:00 
			
		
		
		
	fix: empty response
This commit is contained in:
		@@ -135,7 +135,7 @@ export class ChatGPTApi implements LLMApi {
 | 
			
		||||
        },
 | 
			
		||||
      ];
 | 
			
		||||
    }
 | 
			
		||||
    return res.choices?.at(0)?.message?.content ?? "";
 | 
			
		||||
    return res.choices?.at(0)?.message?.content ?? res;
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
  async chat(options: ChatOptions) {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user