Skip to content

fix(ai): Correct OpenCode routing and model setup - #2990

Merged
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev-omen
Sep 12, 2026
Merged

fix(ai): Correct OpenCode routing and model setup#2990
wsp1911 merged 1 commit into
GCWing:mainfrom
wsp1911:dev-omen

Conversation

@wsp1911

@wsp1911 wsp1911 commented Sep 12, 2026

Copy link
Copy Markdown
Collaborator

Separate OpenCode Console OAuth for Zen from Go API-key access.
Console tokens require account inference routes and cannot be used
as API keys at the public Zen or Go endpoints.

  • Preserve Console model endpoints, formats, and organization headers.
  • Refresh missing account routes without resetting saved credentials.
  • Add the Go API-key preset and cache the public catalog for one hour.
  • Select request protocols per model and preserve session affinity.
  • Keep legacy Go OAuth records with explicit API-key migration guidance.
  • Improve model editor layout, context number formatting, and required
    field feedback; prevent duplicate account refresh requests.
  • Update provider ordering, translations, documentation, and regression
    coverage for routing, headers, and legacy configuration compatibility.

Separate OpenCode Console OAuth for Zen from Go API-key access.
Console tokens require account inference routes and cannot be used
as API keys at the public Zen or Go endpoints.

- Preserve Console model endpoints, formats, and organization headers.
- Refresh missing account routes without resetting saved credentials.
- Add the Go API-key preset and cache the public catalog for one hour.
- Select request protocols per model and preserve session affinity.
- Keep legacy Go OAuth records with explicit API-key migration guidance.
- Improve model editor layout, context number formatting, and required
  field feedback; prevent duplicate account refresh requests.
- Update provider ordering, translations, documentation, and regression
  coverage for routing, headers, and legacy configuration compatibility.
@wsp1911
wsp1911 merged commit f9ea77b into GCWing:main Sep 12, 2026
13 checks passed
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.

1 participant