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 <noreply@anthropic.com>
This commit is contained in:
Ishaan Jaffer 2026-02-11 11:59:31 -08:00
parent 4a3ffdffd0
commit 2c4b3afbc3

View file

@ -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.
"""