Skip to content

fix(opencode): include config api keys in auth list#7956

Closed
staticpayload wants to merge 3 commits into
anomalyco:devfrom
scalarian:fix/auth-list-config
Closed

fix(opencode): include config api keys in auth list#7956
staticpayload wants to merge 3 commits into
anomalyco:devfrom
scalarian:fix/auth-list-config

Conversation

@staticpayload
Copy link
Copy Markdown

@staticpayload staticpayload commented Jan 12, 2026

Fixes #4533

What changed:

  • Include providers configured via provider.options.apiKey in auth list when no auth entry exists
  • Add tests for config entries, precedence, and blank keys

Test:

  • bun test
  • bun turbo typecheck

Auth list skipped providers configured only via config API keys, which caused 'undefined' entries in the UI. Add config-based entries when no auth record exists and cover the precedence and blank-key cases.\n\nTest: bun test test/cli/auth-list.test.ts
@github-actions
Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

No duplicate PRs found

@github-actions
Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

@github-actions github-actions Bot closed this Mar 15, 2026
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.

opencode auth list shows "undefined" for $schema and provider fields despite valid configuration

1 participant