mirror of
				https://github.com/open-webui/pipelines
				synced 2025-06-26 18:15:58 +00:00 
			
		
		
		
	Merge pull request #107 from Lhemamou/Lhemamou-patch-open-ai-pipeline-example
Fix bug leading to openai failure call
This commit is contained in:
		
						commit
						51f07c7044
					
				| @ -45,7 +45,7 @@ class Pipeline: | ||||
|         print(messages) | ||||
|         print(user_message) | ||||
| 
 | ||||
|         OPENAI_API_KEY = "your-openai-api-key-here" | ||||
|         OPENAI_API_KEY = self.valves.OPENAI_API_KEY | ||||
|         MODEL = "gpt-3.5-turbo" | ||||
| 
 | ||||
|         headers = {} | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user