From 97a2474b39c551a9459ee81d3ffe1e0e9e1922b5 Mon Sep 17 00:00:00 2001 From: Brooklyn Nicholson Date: Tue, 28 Apr 2026 15:52:41 -0500 Subject: [PATCH] review(copilot): point reload.env docstring at hermes_cli.config.reload_env --- tui_gateway/server.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tui_gateway/server.py b/tui_gateway/server.py index 377ed64a5..4072e4964 100644 --- a/tui_gateway/server.py +++ b/tui_gateway/server.py @@ -3431,9 +3431,10 @@ def _(rid, params: dict) -> dict: @method("reload.env") def _(rid, params: dict) -> dict: - """Re-read ~/.hermes/.env into the gateway process — TUI parity with - classic CLI's ``/reload`` (cli.py). Newly added API keys take effect - on the next agent call without restarting the TUI. + """Re-read ``~/.hermes/.env`` into the gateway process via + ``hermes_cli.config.reload_env``, matching classic CLI's ``/reload`` + handler. Newly added API keys take effect on the next agent call + without restarting the TUI. The credential pool / provider routing for any *already-constructed* agent does not auto-rebuild — that's the same behaviour as classic