Skip to content

Commit

Permalink
more
Browse files Browse the repository at this point in the history
Signed-off-by: Adrian Cole <[email protected]>
  • Loading branch information
codefromthecrypt committed Sep 25, 2024
1 parent f8044b7 commit fc8ab2c
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 2 deletions.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def default_openai_env(monkeypatch):
When running VCR tests for the first time or after deleting a cassette
recording, set required environment variables, so that real requests don't
fail. Subsequent runs use the recorded data, so don't them.
fail. Subsequent runs use the recorded data, so don't need them.
"""
if "OPENAI_API_KEY" not in os.environ:
monkeypatch.setenv("OPENAI_API_KEY", OPENAI_API_KEY)
Expand Down
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ def test_openai_complete_integration():
reply = complete(OpenAiProvider, OPENAI_MODEL)

assert reply[0].content is not None
print("Complete content from OpenAI:", reply[0].content)
print("Completion content from OpenAI:", reply[0].content)

0 comments on commit fc8ab2c

Please sign in to comment.