OpenHands
OpenHands copied to clipboard
feat: make the response of agent_controller better to process when exception in step execution
When exception thrown during running step, the current version, frontend just stuck there, showing Agent is running task. But actually, the backend already stopped the task.
This pr will give back the detail error message by return a AgentErrorObservation and stop the task.
Before:
After: