MCPcopy Create free account
hub / github.com/livekit/agents / ws_connect

Method ws_connect

tests/test_plugin_gradium_stt.py:63–64  ·  view source on GitHub ↗
(self, url, headers)

Source from the content-addressed store, hash-verified

61
62 class FakeSession:
63 async def ws_connect(self, url, headers):
64 return FakeWebSocket()
65
66 stt = STT(api_key="test-key")
67 opts = STTOptions(language=LanguageCode("pt"), temperature=0.3)

Callers 15

_connection_taskMethod · 0.80
_connect_wsMethod · 0.80
_connect_wsMethod · 0.80
_connect_wsMethod · 0.80
_connect_wsMethod · 0.80
_connect_wsMethod · 0.80
_connect_wsMethod · 0.80
_connect_wsMethod · 0.80
_connect_wsMethod · 0.80
_connect_wsMethod · 0.80
_connect_wsMethod · 0.80
_runMethod · 0.80

Calls 1

FakeWebSocketClass · 0.85

Tested by

no test coverage detected