Skip to content

Commit

Permalink
Merge pull request #82 from filip-michalsky/chemik-bit-patch-1
Browse files Browse the repository at this point in the history
Update test_salesgpt.py
  • Loading branch information
filip-michalsky authored Dec 22, 2023
2 parents 7cccbb4 + bf392c4 commit d1ab9e9
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tests/test_salesgpt.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,10 @@
load_dotenv(dotenv_path)

# Now, try to load the API key
openai.api_key = os.getenv('OPENAI_API_KEY')
api_key = os.getenv('OPENAI_API_KEY')
if not api_key:
raise Exception("OPENAI_API_KEY not found")
#openai.api_key = os.getenv('OPENAI_API_KEY')

class TestSalesGPT:
def test_valid_inference_no_tools(self, load_env):
Expand Down

0 comments on commit d1ab9e9

Please sign in to comment.