Fix bug leading to openai failure call

The open ai key was not given into the actual API call
This commit is contained in:
l31bn1tz 2024-06-20 17:53:13 +02:00 committed by GitHub
parent a0ec0103b0
commit 03af2828bb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 = {}