Record a thinking stage.
(self, node_id: str, thinking_mode: str, thinking_result: str,
stage: str, details: Dict[str, Any] = None)
| 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, |