The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix(tests): use litellm.anthropic_messages entrypoint + drop unstable openapi field
Mateo Wang90cdbb92d778
diff --git a/tests/llm_translation/reasoning_effort_grid/test_reasoning_effort_grid.py b/tests/llm_translation/reasoning_effort_grid/test_reasoning_effort_grid.pyindex e15d4492876..43f0fa1dbe3 100644--- a/tests/llm_translation/reasoning_effort_grid/test_reasoning_effort_grid.py+++ b/tests/llm_translation/reasoning_effort_grid/test_reasoning_effort_grid.py@@ -172,7 +172,7 @@ async def _call_messages() -> Tuple[int, Optional[Exception]]:kwargs = _build_messages_kwargs(model, effort)try:- await litellm.messages.acreate(**kwargs)+ await litellm.anthropic_messages(**kwargs)return 200, Noneexcept BadRequestError as exc:return 400, excdiff --git a/tests/test_litellm/interactions/test_openapi_compliance.py b/tests/test_litellm/interactions/test_openapi_compliance.pyindex 11d61d4c82e..ce74bf150a1 100644--- a/tests/test_litellm/interactions/test_openapi_compliance.py+++ b/tests/test_litellm/interactions/test_openapi_compliance.py@@ -157,15 +157,17 @@ class TestResponseCompliance:# Check CreateModelInteractionParams which includes output fieldsschema = spec_dict["components"]["schemas"]["CreateModelInteractionParams"]- # Output fields (readOnly). Google renamed `outputs` → `steps` in the- # upstream spec; keep this list aligned with the live schema.+ # Output fields (readOnly). Google's live spec has churned through+ # both `outputs` and `steps` for the per-turn output array and at the+ # moment carries neither -- only the stable response-level fields+ # below are guaranteed. Re-add the per-turn key once upstream+ # stabilizes on a name.output_fields = ["id","status","created","updated","role",- "steps","usage",]