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]

fixing test_basic_openai_responses_api

yuneng-jiang45e6440b0a98
diff --git a/tests/llm_responses_api_testing/base_responses_api.py b/tests/llm_responses_api_testing/base_responses_api.py
index 0850f742231..f38ce67cede 100644
--- a/tests/llm_responses_api_testing/base_responses_api.py
+++ b/tests/llm_responses_api_testing/base_responses_api.py
@@ -74,7 +74,7 @@ def validate_responses_api_response(response, final_chunk: bool = False):
"top_p": (int, float, type(None)),
"max_output_tokens": (int, type(None)),
"previous_response_id": (str, type(None)),
- "reasoning": dict,
+ "reasoning": (dict, type(None)),
"status": str,
"text": dict,
"truncation": (str, type(None)),