Skip to content

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]

test(interactions): align openapi compliance with upstream rename outputs->steps

Yuneng Jiang3d67f00ede29
diff --git a/tests/test_litellm/interactions/test_openapi_compliance.py b/tests/test_litellm/interactions/test_openapi_compliance.py
index cfcc426aa24..11d61d4c82e 100644
--- a/tests/test_litellm/interactions/test_openapi_compliance.py
+++ b/tests/test_litellm/interactions/test_openapi_compliance.py
@@ -157,14 +157,15 @@ class TestResponseCompliance:
# Check CreateModelInteractionParams which includes output fields
schema = spec_dict["components"]["schemas"]["CreateModelInteractionParams"]
- # Output fields (readOnly)
+ # Output fields (readOnly). Google renamed `outputs` → `steps` in the
+ # upstream spec; keep this list aligned with the live schema.
output_fields = [
"id",
"status",
"created",
"updated",
"role",
- "outputs",
+ "steps",
"usage",
]