Skip to content

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

Merged
Finesssee merged 1 commit into
mainfrom
port/045-openrouter-multi-key
Jul 21, 2026
Merged

feat(openrouter): multi-key token accounts and CLI --account (0.45)#224
Finesssee merged 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
  • Rebased onto main (includes DeepInfra + guard)

Test plan

  • openrouter_token_accounts_inject_api_key_env
  • token_accounts suite
  • desktop fetch_context override/fallback tests

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.
@Finesssee
Finesssee merged commit eda823c into main Jul 21, 2026
1 check failed
@github-actions

Copy link
Copy Markdown

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

Closing this automatically.

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