mirror of
https://github.com/open-webui/pipelines
synced 2025-05-11 16:10:45 +00:00
Fix bug leading to openai failure call
The open ai key was not given into the actual API call
This commit is contained in:
parent
a0ec0103b0
commit
03af2828bb
@ -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