Skip to content

feat(openrouter): multi-key token accounts and CLI --account (0.45)#222

Closed
Finesssee wants to merge 1 commit into
mainfrom
port/045-openrouter-multi-key
Closed

feat(openrouter): multi-key token accounts and CLI --account (0.45)#222
Finesssee wants to merge 1 commit into
mainfrom
port/045-openrouter-multi-key

Conversation

@Finesssee

@Finesssee Finesssee commented Jul 21, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Port OpenRouter multi-key accounts from upstream 0.45 (feat: add OpenRouter token accounts steipete/CodexBar#2271)
  • TokenAccountSupport for OpenRouter (OPENROUTER_API_KEY env injection)
  • Desktop fetch context prefers active token-account key over stored apiKey
  • CLI usage --account <label|index> for single-provider selection

Test plan

  • openrouter_token_accounts_inject_api_key_env
  • token_accounts suite (6)
  • desktop fetch_context tests for override/fallback

No packaging/version bump.


View with Codesmith Autofix with Codesmith
Need help on this PR? Tag /codesmith with what you need. Autofix is disabled.

…eipete#2271)

Enable labeled OpenRouter API keys via token accounts, prefer the active
token-account key over stored api_keys, and add usage --account selection.
@github-actions

Copy link
Copy Markdown

This repository allows each user to open at most 4 pull requests per 7 days.

Closing this automatically.

@github-actions github-actions Bot closed this Jul 21, 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.

1 participant