π OpenHands: AI-Driven Development
logging fixes (#3393)
Engel Nystbe2ea6ab351a
diff --git a/opendevin/core/main.py b/opendevin/core/main.pyindex 9e89d5385b..275aaa22d8 100644--- a/opendevin/core/main.py+++ b/opendevin/core/main.py@@ -110,7 +110,7 @@ async def run_controller(event_stream.sid, event_stream.file_store)except Exception as e:- logger.info('Error restoring state', e)+ logger.info(f'Error restoring state: {e}')# init controller with this initial statecontroller = AgentController(diff --git a/opendevin/llm/llm.py b/opendevin/llm/llm.pyindex 5ae4a43858..8413a70d23 100644--- a/opendevin/llm/llm.py+++ b/opendevin/llm/llm.py@@ -172,8 +172,7 @@ class LLM:debug_message += message_separator + content_strelse:content_str = str(content)-- debug_message += message_separator + content_str+ debug_message += message_separator + content_strllm_prompt_logger.debug(debug_message)