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

Method warning

utils/logger.py:146–148  ·  view source on GitHub ↗
(self, message: str, node_id: str = None, event_type: EventType = None,
                details: Dict[str, Any] = None, duration: float | None = None)

Source from the content-addressed store, hash-verified

144 self.add_log(LogLevel.INFO, message, node_id, event_type, details, duration)
145
146 def warning(self, message: str, node_id: str = None, event_type: EventType = None,
147 details: Dict[str, Any] = None, duration: float | None = None) -> None:
148 self.add_log(LogLevel.WARNING, message, node_id, event_type, details, duration)
149
150 def error(self, message: str, node_id: str = None, event_type: EventType = None,
151 details: Dict[str, Any] = None, duration: float | None = None) -> None:

Callers 15

add_logMethod · 0.45
request_cancelMethod · 0.45
emitMethod · 0.45
wait_for_human_inputMethod · 0.45
provide_human_inputMethod · 0.45
handle_heartbeatMethod · 0.45
_build_evaluatorMethod · 0.45
missingMethod · 0.45
transformMethod · 0.45
_build_skill_managerMethod · 0.45
_before_sleepMethod · 0.45

Calls 1

add_logMethod · 0.95

Tested by

no test coverage detected