You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: LLM profile timeout is reset after agent-server restart #4032
I have searched existing issues and this is not a duplicate.
Bug Description
Description
When agent-server restarts, the configured LLM timeout value is not preserved. The system resets the timeout to a default value (or to a value that does not exist in any configured LLM profile).
Steps to reproduce
Change the active LLM profile timeout value to 1234.
Restart the agent-server container.
Reconnect OH to the agent-server.
Check the timeout value being used by the agent.
Expected behavior
The agent should continue using the LLM profile timeout value configured before the restart (1234) or the one of the active profile.
Actual behavior
After reconnecting, the agent uses a different timeout value. The configured value is lost after the agent-server restart.
@OpenHands Clone yourself agent-canvas too from the same org, so you see how a conversation is initiated. In my understanding, in the conversation reported here, what happens is:
there is an active profile, with a higher timeout than default, e.g. 700
the user starts a new conversation in agent-canvas
the conversation should receive and use 700 timeout (verify if it does), you can find it in one of the .json files written on disk in conversation’s directory
then, close it; and restore the conversation
it should read and use 700 timeout (verify this too)
You are an agent, you can install yourself everything you need and you can use the same requests to the agent-server that agent-canvas does. Reproduce the issue and investigate why it happens. Reply directly here with evidence.
[Automatic Post]: This issue was automatically closed due to 47 days of inactivity. We do this to help keep the issue tracker manageable and focused on active issues. If this is still relevant, feel free to reopen it.
Generated by OpenHands automation on behalf of the user.
Activity
enyst commentedon Jul 11, 2026
@OpenHands Clone yourself agent-canvas too from the same org, so you see how a conversation is initiated. In my understanding, in the conversation reported here, what happens is:
You are an agent, you can install yourself everything you need and you can use the same requests to the agent-server that agent-canvas does. Reproduce the issue and investigate why it happens. Reply directly here with evidence.
openhands-ai commentedon Jul 11, 2026
I'm on it! enyst can track my progress at all-hands.dev
docs(.pr): add restart-timeout reproduction evidence for OpenHands#4032
docs(.pr): independent repro for the active-profile / no-switch case (O…
fix(agent-server): make base_state.json authoritative for the resume …
all-hands-bot commentedon Aug 28, 2026
[Automatic Post]: This issue was automatically closed due to 47 days of inactivity. We do this to help keep the issue tracker manageable and focused on active issues. If this is still relevant, feel free to reopen it.
Generated by OpenHands automation on behalf of the user.