Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Intermittent AgentState "stopped" in the backend #3908

Open
2 tasks done
enyst opened this issue Sep 17, 2024 · 0 comments
Open
2 tasks done

[Bug]: Intermittent AgentState "stopped" in the backend #3908

enyst opened this issue Sep 17, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@enyst
Copy link
Collaborator

enyst commented Sep 17, 2024

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

[main](https://github.com/All-Hands-AI/OpenHands/commit/2a10ff13741dc47452240787b06def2463d38903)

Installation and Configuration

`make build`
`make run`

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

@enyst enyst added the bug Something isn't working label Sep 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant