mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
refactor: drop the docstrings from the websocket relay and its tests
This commit is contained in:
parent
5030214671
commit
f213855558
3 changed files with 0 additions and 5 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
||||
|
|
|
|||
|
|
@ -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])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue