π OpenHands: AI-Driven Development
Change log levels from info to debug for various agent controller messages (#8073)
Robert Brennana948b0fef358
diff --git a/openhands/controller/agent_controller.py b/openhands/controller/agent_controller.pyindex 795aad1909..2461254ebb 100644--- a/openhands/controller/agent_controller.py+++ b/openhands/controller/agent_controller.py@@ -414,7 +414,7 @@ class AgentController:should_step = self.should_step(event)if should_step:self.log(- 'info',+ 'debug',f'Stepping agent after event: {type(event).__name__}',extra={'msg_type': 'STEPPING_AGENT'},)@@ -779,7 +779,7 @@ class AgentController:returnself.log(- 'info',+ 'debug',f'LEVEL {self.state.delegate_level} LOCAL STEP {self.state.local_iteration} GLOBAL STEP {self.state.iteration}',extra={'msg_type': 'STEP'},)@@ -968,7 +968,7 @@ class AgentController:action_type = type(prev_action).__name__elapsed_time = time.time() - timestampself.log(- 'info',+ 'debug',f'Cleared pending action after {elapsed_time:.2f}s: {action_type} (id={action_id})',extra={'msg_type': 'PENDING_ACTION_CLEARED'},)@@ -977,7 +977,7 @@ class AgentController:action_id = getattr(action, 'id', 'unknown')action_type = type(action).__name__self.log(- 'info',+ 'debug',f'Set pending action: {action_type} (id={action_id})',extra={'msg_type': 'PENDING_ACTION_SET'},)