refactor: drop the docstrings from the websocket relay and its tests

This commit is contained in:
mateo-berri 2026-09-18 17:44:32 -07:00
parent 5030214671
commit f213855558
3 changed files with 0 additions and 5 deletions

View file

@ -2329,7 +2329,6 @@ class ResponsesWebSocketStreaming:
verbose_logger.debug("Responses WS client_to_backend ended: %s", e)
async def bidirectional_forward(self) -> Exception | None:
"""Run both forwarding directions concurrently and return the provider failure that ended the connection."""
forward_task: Final = asyncio.create_task(self.backend_to_client())
try:
await self.client_to_backend()

View file

@ -1070,9 +1070,6 @@ async def test_arealtime_marks_litellm_params_async(monkeypatch):
@pytest.mark.asyncio
async def test_aresponses_websocket_hands_back_the_provider_failure_without_a_success_log(monkeypatch):
"""A native Responses WebSocket connection the provider rejected comes back from the ``@client``
wrapper as the mapped failure, and the wrapper books no success for it: the relay's own dispatch
is the connection's single log, so the proxy can record the connection as a failed request."""
from litellm.litellm_core_utils.logging_worker import GLOBAL_LOGGING_WORKER
from litellm.responses.main import base_llm_http_handler

View file

@ -2973,7 +2973,6 @@ def _wrapped_reasoning_item():
class TestNativeWebSocketEncryptedContentAffinity:
"""The native relay must restore and wrap ids the same way the HTTP /v1/responses path does."""
@pytest.mark.asyncio
@pytest.mark.parametrize("nested", [False, True])