Skip to content

[Bug]: LLM profile timeout is reset after agent-server restart #4032

Closed as not planned

Description

@kripper

Is there an existing issue for the same bug?

  • 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

  1. Change the active LLM profile timeout value to 1234.
  2. Restart the agent-server container.
  3. Reconnect OH to the agent-server.
  4. 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.

Environment

  • OH commit: 2abf0b1303c8d3c8dcd9fb080507395afbaa21d4
    Date: Wed Jul 8 21:17:44 2026 +0700

  • agent-server commit: 65ee52f817f5b30292abe5f2ac620f84576eb91f
    Date: Wed Jul 8 16:16:47 2026 +0200

Activity

  1. added
    bug
    on Jul 8, 2026
  2. enyst commented on Jul 11, 2026

    @enyst
    Member

    @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.

  3. openhands-ai commented on Jul 11, 2026

    @openhands-ai
  4. all-hands-bot commented on Aug 28, 2026

    @all-hands-bot
    Collaborator

    [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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions