Merge pull request #107 from Lhemamou/Lhemamou-patch-open-ai-pipeline-example

Fix bug leading to openai failure call
This commit is contained in:
Timothy Jaeryang Baek
2024-06-21 10:59:04 -07:00
committed by GitHub

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