mirror of
				https://github.com/open-webui/pipelines
				synced 2025-06-26 18:15:58 +00:00 
			
		
		
		
	fix: azure
This commit is contained in:
		
							parent
							
								
									f5eb8e5a44
								
							
						
					
					
						commit
						d0cf5b7bcb
					
				| @ -48,7 +48,7 @@ class Pipeline: | ||||
|             "Content-Type": "application/json", | ||||
|         } | ||||
| 
 | ||||
|         url = f"{self.valves.AZURE_OPENAI_ENDPOINT}/openai/deployments/{self.valves.DEPLOYMENT_NAME}/completions?api-version={self.valves.API_VERSION}" | ||||
|         url = f"{self.valves.AZURE_OPENAI_ENDPOINT}/openai/deployments/{self.valves.DEPLOYMENT_NAME}/chat/completions?api-version={self.valves.API_VERSION}" | ||||
| 
 | ||||
|         try: | ||||
|             r = requests.post( | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user