MCPcopy
hub / github.com/OpenBMB/ChatDev / record_thinking_process

Method record_thinking_process

utils/log_manager.py:149–153  ·  view source on GitHub ↗

Record a thinking stage.

(self, node_id: str, thinking_mode: str, thinking_result: str,
                                stage: str, details: Dict[str, Any] = None)

Source from the content-addressed store, hash-verified

147 self.logger.record_tool_call(node_id, tool_name, tool_result, duration, success, tool_details, stage)
148
149 def record_thinking_process(self, node_id: str, thinking_mode: str, thinking_result: str,
150 stage: str, details: Dict[str, Any] = None) -> None:
151 """Record a thinking stage."""
152 duration = self.logger.get_timer(f"thinking_{node_id}_{stage}")
153 self.logger.record_thinking_process(node_id, thinking_mode, thinking_result, stage, duration, details)
154
155 def record_memory_operation(self, node_id: str, operation_type: str,
156 stage: str, retrieved_memory: Any = None,

Callers

nothing calls this directly

Calls 1

get_timerMethod · 0.80

Tested by

no test coverage detected