From 91ad59dc2414a34bc2ed01571937b9475cd0d5fb Mon Sep 17 00:00:00 2001 From: Graham Neubig Date: Sun, 2 Mar 2025 17:21:07 -0500 Subject: [PATCH] More explicit feedback message about how to report errors to developers (#7063) --- openhands/controller/agent_controller.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/openhands/controller/agent_controller.py b/openhands/controller/agent_controller.py index 406c4fa4fa..fdcc829ec0 100644 --- a/openhands/controller/agent_controller.py +++ b/openhands/controller/agent_controller.py @@ -248,8 +248,9 @@ class AgentController: ) reported = RuntimeError( 'There was an unexpected error while running the agent. Please ' - f'report this error to the developers. Your session ID is {self.id}. ' - f'Error type: {e.__class__.__name__}' + 'report this error to the developers by opening an issue at ' + 'https://github.com/All-Hands-AI/OpenHands. Your session ID is ' + f' {self.id}. Error type: {e.__class__.__name__}' ) if ( isinstance(e, litellm.AuthenticationError)