diff --git a/tests/llm_translation/test_azure_ai.py b/tests/llm_translation/test_azure_ai.py index 91cbcda059..d2d893a611 100644 --- a/tests/llm_translation/test_azure_ai.py +++ b/tests/llm_translation/test_azure_ai.py @@ -305,7 +305,7 @@ def test_completion_azure(): "content": "Hello, how are you?", } ], - api_key="os.environ/AZURE_AI_API_KEY", + api_key=os.getenv("AZURE_AI_API_KEY"), ) print(f"response: {response}") print(f"response hidden params: {response._hidden_params}")