Skip to content

πŸ™Œ OpenHands: AI-Driven Development

More explicit feedback message about how to report errors to developers (#7063)

Graham Neubig91ad59dc2414
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)