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(rust_bridge): drop the responses websocket opt-in assertion the catalog no longer allows

Yujong Lee9484595fa276
diff --git a/tests/test_litellm/responses/test_rust_bridge_websocket.py b/tests/test_litellm/responses/test_rust_bridge_websocket.py
index 74d96bda336..fcb5c5680ec 100644
--- a/tests/test_litellm/responses/test_rust_bridge_websocket.py
+++ b/tests/test_litellm/responses/test_rust_bridge_websocket.py
@@ -2,7 +2,6 @@ from __future__ import annotations
import pytest
-from litellm.llms.custom_httpx.llm_http_handler import _rust_responses_websocket_enabled
from litellm.rust_bridge import configuration, responses_websocket
@@ -47,14 +46,6 @@ def reset_responses_websocket():
configuration.reset_rust_configuration()
-def test_rust_websocket_bridge_uses_process_enablement() -> None:
- configuration.rust(False)
- assert not _rust_responses_websocket_enabled("openai")
- configuration.rust(True)
- assert _rust_responses_websocket_enabled("openai")
- assert not _rust_responses_websocket_enabled("anthropic")
-
-
@pytest.mark.asyncio
async def test_adapter_raises_clean_close_when_rust_connection_ends() -> None:
adapter = responses_websocket._ConnectionAdapter(_ClosedNativeConnection())