diff --git a/litellm/tests/test_async_fn.py b/litellm/tests/test_async_fn.py index 72cb44006f..3bb90153ef 100644 --- a/litellm/tests/test_async_fn.py +++ b/litellm/tests/test_async_fn.py @@ -17,7 +17,7 @@ def test_sync_response(): user_message = "Hello, how are you?" messages = [{"content": user_message, "role": "user"}] try: - response = completion(model="gpt-3.5-turbo", messages=messages) + response = completion(model="gpt-3.5-turbo", messages=messages, api_key=os.environ["OPENAI_API_KEY"]) except Exception as e: pytest.fail(f"An exception occurred: {e}")