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

Method has_session

server/services/session_store.py:88–89  ·  view source on GitHub ↗
(self, session_id: str)

Source from the content-addressed store, hash-verified

86 return self._sessions.get(session_id)
87
88 def has_session(self, session_id: str) -> bool:
89 return session_id in self._sessions
90
91 def update_session_status(self, session_id: str, status: SessionStatus, **kwargs: Any) -> None:
92 session = self._sessions.get(session_id)

Callers 1

ensure_known_sessionFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected