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

Function _make_server

tests/test_cli_log_level.py:14–19  ·  view source on GitHub ↗
(**kwargs)

Source from the content-addressed store, hash-verified

12
13
14def _make_server(**kwargs) -> AgentServer:
15 async def _fake_entrypoint(ctx):
16 pass
17
18 opts = ServerOptions(entrypoint_fnc=_fake_entrypoint, **kwargs)
19 return AgentServer.from_server_options(opts)
20
21
22@pytest.fixture

Calls 2

ServerOptionsClass · 0.90
from_server_optionsMethod · 0.80

Tested by

no test coverage detected