chore(openai): skip Azure text completions tests (#34021)

This commit is contained in:
ccurme
2025-11-19 09:29:12 -05:00
committed by GitHub
parent 6f677ef5c1
commit 328ba36601

View File

@@ -19,6 +19,15 @@ DEPLOYMENT_NAME = os.environ.get(
os.environ.get("AZURE_OPENAI_LLM_DEPLOYMENT_NAME", ""),
)
pytestmark = pytest.mark.skipif(
True,
reason=(
"This entire module is skipped as all Azure OpenAI models supporting text "
"completions are retired. See: "
"https://learn.microsoft.com/en-us/azure/ai-foundry/openai/concepts/legacy-models"
),
)
def _get_llm(**kwargs: Any) -> AzureOpenAI:
return AzureOpenAI( # type: ignore[call-arg, call-arg, call-arg]