mirror of
				https://github.com/vastxie/99AI.git
				synced 2025-11-04 15:53:43 +08:00 
			
		
		
		
	Update openai.js
修复阿里/清华模型无法使用的问题
This commit is contained in:
		
							
								
								
									
										1
									
								
								dist/modules/chatgpt/openai.js
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										1
									
								
								dist/modules/chatgpt/openai.js
									
									
									
									
										vendored
									
									
								
							@@ -85,7 +85,6 @@ async function sendMessageFromOpenAi(messagesHistory, inputs, uploadService) {
 | 
			
		||||
            responseType: 'stream',
 | 
			
		||||
            headers: {
 | 
			
		||||
                'Content-Type': 'application/json',
 | 
			
		||||
                Accept: "application/json",
 | 
			
		||||
                Authorization: `Bearer ${apiKey}`,
 | 
			
		||||
            },
 | 
			
		||||
            data: {
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user