[Bug]: Intermittent AgentState "stopped" in the backend #3908
Labels
bug
Something isn't working
severity:low
Minor issues or affecting single user
Stale
Inactive for 30 days
Is there an existing issue for the same bug?
Describe the bug
AgentState is an enum, and afaik it's supposed to have only those values in an AgentStateChangeAction / Observation, but recently I see a state change to "stopped", probably from here, and indeed it only happened when running with the UI.
This might be fine or just a matter of display in logs, or it may mean checks in the backend for AgentState.STOPPED don't trigger. Just recording this, because I may not remember all the unusual things. 😊
Current OpenHands version
Installation and Configuration
Model and Agent
Gemini
CodeActAgent
Operating System
Mac OS
Reproduction Steps
Run with UI for a while, and take a look at the console logs or check the event stream for "to stopped".
Logs, Errors, Screenshots, and Additional Context
No response
The text was updated successfully, but these errors were encountered: