Skip to content

Gateway should clearly reload config or warn that model changes require restart #13146

Description

@leonardorojo

Summary

Changing ~/.hermes/config.yaml — including model.default, provider, or api_mode — does not affect a running Gateway until hermes-gateway is restarted.

In my setup, this was not obvious, and the Gateway continued using the previous configuration until restart.

Steps to reproduce

  1. Start hermes-gateway.
  2. Edit ~/.hermes/config.yaml and change model.default or api_mode.
  3. Do not restart the Gateway.
  4. Observe that the running Gateway continues using the old configuration.

Expected behavior

One of the following should happen:

  • The Gateway hot-reloads the relevant configuration, or
  • The Gateway clearly logs or warns that a restart is required for config changes to take effect.

Actual behavior

The running Gateway keeps using the previous configuration until it is restarted.

Environment

  • OS: Linux Mint
  • Gateway execution mode: systemd --user
  • Config file: ~/.hermes/config.yaml

Notes

This behavior can be confusing because changing the config file appears to succeed, but the running Gateway silently continues with the old settings until a manual restart is performed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Medium — degraded but workaround existsarea/configConfig system, migrations, profilescomp/gatewayGateway runner, session dispatch, deliverysweeper:implemented-on-mainSweeper: behavior already present on current maintype/featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions