Skip to content

Commit

Permalink
Merge pull request #107 from Lhemamou/Lhemamou-patch-open-ai-pipeline…
Browse files Browse the repository at this point in the history
…-example

Fix bug leading to openai failure call
  • Loading branch information
tjbck committed Jun 21, 2024
2 parents a0ec010 + 03af282 commit 51f07c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/pipelines/providers/openai_pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ def pipe(
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 = {}
Expand Down

0 comments on commit 51f07c7

Please sign in to comment.