From 2c4b3afbc3d026799e7232c90ee19e9ad6564308 Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Wed, 11 Feb 2026 11:59:31 -0800 Subject: [PATCH] fix: remove unnecessary async from test_azure_openai_with_prompt_cache_key Addresses Greptile feedback: litellm.completion() is synchronous, so async def is unnecessary and would silently pass without running. Co-Authored-By: Claude Opus 4.6 --- tests/llm_translation/test_azure_openai.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/llm_translation/test_azure_openai.py b/tests/llm_translation/test_azure_openai.py index ed66683f9c4..2463304d2d2 100644 --- a/tests/llm_translation/test_azure_openai.py +++ b/tests/llm_translation/test_azure_openai.py @@ -730,7 +730,7 @@ def test_azure_with_content_safety_error(): assert e.provider_specific_fields["innererror"]["content_filter_result"]["violence"]["severity"] == "high" -async def test_azure_openai_with_prompt_cache_key(): +def test_azure_openai_with_prompt_cache_key(): """ E2E test for Azure OpenAI with prompt cache key param on /chat/completions API. """