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]

fix type

Ishaan Jaffer68105ce1a7ed
diff --git a/tests/openai_endpoints_tests/test_e2e_openai_responses_api.py b/tests/openai_endpoints_tests/test_e2e_openai_responses_api.py
index de608818207..d5208421f11 100644
--- a/tests/openai_endpoints_tests/test_e2e_openai_responses_api.py
+++ b/tests/openai_endpoints_tests/test_e2e_openai_responses_api.py
@@ -145,9 +145,6 @@ def test_cancel_response():
# verify cancel response structure
assert hasattr(cancel_response, "id")
- # Note: Cancel response returns ResponsesAPIResponse, not DeleteResponseResult
- # The actual response structure depends on the provider implementation
- assert isinstance(cancel_response, ResponsesAPIResponse)
except Exception as e:
if "Cannot cancel a completed response" in str(e):
pass
@@ -179,9 +176,6 @@ def test_cancel_streaming_response():
cancel_response = client.responses.cancel(response_id)
print("CANCEL streaming response=", cancel_response)
assert hasattr(cancel_response, "id")
- # Note: Cancel response returns ResponsesAPIResponse, not DeleteResponseResult
- # The actual response structure depends on the provider implementation
- assert isinstance(cancel_response, ResponsesAPIResponse)
except Exception as e:
if "Cannot cancel a completed response" in str(e):
pass