mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
The websocket routes under /openai_passthrough and /openai had no e2e coverage, so nothing catches the regression from issue #36088, where both prefixes carried HTTP routes only and refused every upgrade with a 403 before a socket ever existed. Two tests cover it. The realtime one opens /openai_passthrough/v1/realtime and asserts OpenAI's own session.created frame comes back, which proves the route is registered and relayed upstream. The responses one asserts /openai/v1/responses accepts the upgrade, since a responses.connect socket waits for the client to speak first and has no opening frame to check. A refused upgrade is an HTTP response rather than a close frame, so both assert on the handshake. ws_base_url moves into e2e_config now that a second suite needs it |
||
|---|---|---|
| .. | ||
| fixtures | ||
| conftest.py | ||
| pipecat_service.py | ||
| realtime_client.py | ||
| REALTIME_COVERAGE_MATRIX.md | ||
| test_realtime_bedrock_e2e.py | ||
| test_realtime_e2e.py | ||
| test_realtime_pipecat_audio_e2e.py | ||
| test_realtime_pipecat_e2e.py | ||