Skip to content

fix: distinguish OpenCode Go from OpenCode Zen - #364

Merged
sambitcreate merged 1 commit into
mainfrom
feature/fix-opencode-go-label
Oct 6, 2026
Merged

sambitcreate merged 1 commit into
mainfrom
feature/fix-opencode-go-label

Conversation

@sambitcreate

Copy link
Copy Markdown
Owner

Settings displayed both OpenCode providers as OpenCode Zen because the display-label override renamed opencode-go to Zen. Use OpenCode Go for that provider while preserving OpenCode Zen for opencode.

Updated the existing behavioral label test to cover both names. Provider identities, credentials, model inventory, and routing are unchanged.

Validation: 16 focused provider-list and provider-display tests passed; TypeScript, scoped ESLint, and git diff --check passed.

@very-hermes-bot

Copy link
Copy Markdown
Collaborator

Hermes Review Bot

Confidence: 5

Engine: agy/gemini-3.8-flash-high
Review mode: small
Head: 3b0f5818af1d300871857ec2e324113899e6ab6c
Generated: 2026-10-06T17:41:49+00:00
Reviews: 1

Summary

Corrects the display name mapping for the opencode-go provider so it renders as "OpenCode Go" rather than colliding with "OpenCode Zen". The change updates the single-branch override in providerDisplayLabel and extends unit tests to verify both OpenCode provider labels alongside pass-through behavior for unrelated providers. Maintainers should verify that downstream surfaces (such as the provider settings picker and iOS remote fixtures) already key off opencode-go by ID rather than display label.

Confidence Score: 5/5

Fully traced and verified across all callers of providerDisplayLabel, provider registry storage, and consumer contracts in desktop and remote clients.

📁 Important Files Changed
  • main/services/provider-list-core.ts: Maps opencode-go to "OpenCode Go" while preserving upstreamLabel for all other providers (including opencode).
  • main/services/provider-list-core.test.ts: Validates that providerDisplayLabel distinguishes opencode-go ("OpenCode Go") from opencode ("OpenCode Zen") and passes through unrelated provider names.

Findings

No findings.

📊 Sequence Diagram

Unchanged or not applicable for this change.

Machine-Readable Findings

[]

Last reviewed commit: 3b0f5818af1d
Reviews (1) · Comment /hermes review to trigger a new review · /hermes review full for full re-review

@pullfrog pullfrog Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ No new issues found.

Reviewed changes Reviewed the shared provider-label correction and its behavioral coverage, including the registry caller and desktop/native display consumers.

  • Distinct provider names: opencode-go now displays as OpenCode Go, while opencode retains OpenCode Zen; provider identities, credentials, model inventory, and routing are unchanged.
  • Behavioral coverage: The existing test asserts both names and the unrelated-provider passthrough. All 16 focused provider-list and provider-display tests passed locally. Hosted CI remains in progress; Electron and native mobile suites were not run locally.

Pullfrog  | View workflow run | Using gpt-6.1-sol | 𝕏

@sambitcreate
sambitcreate merged commit ab0fef3 into main Oct 6, 2026
26 checks passed
@sambitcreate
sambitcreate deleted the feature/fix-opencode-go-label branch October 6, 2026 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants