MCPcopy Index your code
hub / github.com/OpenBMB/ChatDev / init_state

Function init_state

server/state.py:11–14  ·  view source on GitHub ↗

Ensure global singletons are ready for incoming requests.

()

Source from the content-addressed store, hash-verified

9
10
11def init_state() -> None:
12 """Ensure global singletons are ready for incoming requests."""
13
14 get_websocket_manager()
15
16
17def get_websocket_manager() -> WebSocketManager:

Callers

nothing calls this directly

Calls 1

get_websocket_managerFunction · 0.85

Tested by

no test coverage detected