MCPcopy Create free account
hub / github.com/OpenBMB/ChatDev / __init_timers__

Method __init_timers__

utils/logger.py:401–404  ·  view source on GitHub ↗

Initialize timer storage if not exists.

(self)

Source from the content-addressed store, hash-verified

399 # ================================================================
400
401 def __init_timers__(self):
402 """Initialize timer storage if not exists."""
403 if not hasattr(self, '_timers'):
404 self._timers: Dict[str, float] = {}
405
406 @contextmanager
407 def node_timer(self, node_id: str):

Callers 8

node_timerMethod · 0.95
model_timerMethod · 0.95
agent_timerMethod · 0.95
human_timerMethod · 0.95
tool_timerMethod · 0.95
thinking_timerMethod · 0.95
memory_timerMethod · 0.95
get_timerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected