Skip to content

fix: restore opencode-go provider config corrupted by secret redaction#2393

Merged
teknium1 merged 1 commit intoNousResearch:mainfrom
0xbyt4:fix/opencode-go-redacted-config
Mar 22, 2026
Merged

fix: restore opencode-go provider config corrupted by secret redaction#2393
teknium1 merged 1 commit intoNousResearch:mainfrom
0xbyt4:fix/opencode-go-redacted-config

Conversation

@0xbyt4
Copy link
Copy Markdown
Contributor

@0xbyt4 0xbyt4 commented Mar 22, 2026

Summary

  • opencode-go provider in PROVIDER_REGISTRY has been broken since commit 35d948b (feat: add Kilo Code provider)
  • auth_type was "***" instead of "api_key"
  • api_key_env_vars was ("OPEN...",) instead of ("OPENCODE_GO_API_KEY",)
  • A secret redaction tool appears to have masked these values during that commit
  • OpenCode Go provider is completely non-functional as a result

Fix

Restore the original values from commit 40e2f8d (feat: add OpenCode Zen and OpenCode Go providers).

Test plan

  • tests/test_api_key_providers.py — 101/101 passed
  • Verified PROVIDER_REGISTRY['opencode-go'] returns correct values
auth_type was "***" instead of "api_key" and api_key_env_vars was
("OPEN...",) instead of ("OPENCODE_GO_API_KEY",). This was introduced
in 35d948b when a secret redaction tool masked these values during
the Kilo Code provider commit. OpenCode Go provider was completely
broken as a result.
@teknium1 teknium1 merged commit e0ca46c into NousResearch:main Mar 22, 2026
1 check passed
outsourc-e pushed a commit to outsourc-e/hermes-agent that referenced this pull request Mar 26, 2026
NousResearch#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 35d948b when a secret redaction tool masked these values during
the Kilo Code provider commit. OpenCode Go provider was completely
broken as a result.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants