π OpenHands: AI-Driven Development
chore: pass logger DEBUG mode to client side (#4096)
Xingyao Wang2bed3a424c54
diff --git a/openhands/runtime/client/runtime.py b/openhands/runtime/client/runtime.pyindex bb2c78b79a..21124e3fce 100644--- a/openhands/runtime/client/runtime.py+++ b/openhands/runtime/client/runtime.py@@ -10,6 +10,7 @@ import requestsimport tenacityfrom openhands.core.config import AppConfig+from openhands.core.logger import DEBUGfrom openhands.core.logger import openhands_logger as loggerfrom openhands.events import EventStreamfrom openhands.events.action import (@@ -248,7 +249,7 @@ class EventStreamRuntime(Runtime):'port': str(self._container_port),'PYTHONUNBUFFERED': 1,}- if self.config.debug:+ if self.config.debug or DEBUG:environment['DEBUG'] = 'true'logger.debug(f'Workspace Base: {self.config.workspace_base}')