Skip to content

Config hygiene: duplicate "cline-pass" provider blocks in opencode.jsonc #1308

Closed

Description

@dezren39

Found during the provider-catalog sync (PR #1304, 2026-10-27)

.opencode/opencode.jsonc contains two separate "cline-pass" provider blocks (one with 19 model entries, one with 18). JSON/JSONC semantics: the later block silently wins; whichever block is shadowed is dead config, and any routes referencing models that only exist in the shadowed block would fail to resolve (or resolve differently than intended).

Ask

  • Determine which block is effective under the fork's config loader (last-wins vs first-wins) and which models each block carries.
  • Merge the two blocks into one, preserving every model entry and its variants/limits (union, not a pick).
  • Verify all cline-pass/... route targets in experimental.model_routes still resolve after the merge.
  • Note in the PR whether anything was previously shadowed — i.e., whether the effective catalog changes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions