From e0ca46cd738f775b3c04ed5899e8e163dfac2c8e Mon Sep 17 00:00:00 2001 From: 0xbyt4 <35742124+0xbyt4@users.noreply.github.com> Date: Sun, 22 Mar 2026 03:08:52 +0300 Subject: [PATCH] fix: restore opencode-go provider config corrupted by secret redaction (#2393) auth_type was "***" instead of "api_key" and api_key_env_vars was ("OPEN...",) instead of ("OPENCODE_GO_API_KEY",). This was introduced in 35d948b6 when a secret redaction tool masked these values during the Kilo Code provider commit. OpenCode Go provider was completely broken as a result. --- hermes_cli/auth.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hermes_cli/auth.py b/hermes_cli/auth.py index cc58eb1a80..b2211287d1 100644 --- a/hermes_cli/auth.py +++ b/hermes_cli/auth.py @@ -199,9 +199,9 @@ PROVIDER_REGISTRY: Dict[str, ProviderConfig] = { "opencode-go": ProviderConfig( id="opencode-go", name="OpenCode Go", - auth_type="***", + auth_type="api_key", inference_base_url="https://opencode.ai/zen/go/v1", - api_key_env_vars=("OPEN...",), + api_key_env_vars=("OPENCODE_GO_API_KEY",), base_url_env_var="OPENCODE_GO_BASE_URL", ), "kilocode": ProviderConfig(