claudecodeui icon indicating copy to clipboard operation
claudecodeui copied to clipboard

[Feature] Count WALLY_API_KEY as an OpenCode provider login

Open sanchitmonga22 opened this issue 4 weeks ago • 0 comments

Is your feature request related to a problem? Please describe. OpenCode reads WALLY_API_KEY from the environment (Wally is a provider in the models.dev catalog OpenCode uses) and lists wally/<model> models. CloudCLI does not know that key:

  • With only WALLY_API_KEY set, the OpenCode status reads "OpenCode not configured".
  • With any other provider also connected, the OpenCode model picker drops every wally/ model, because the connected-provider check only knows OPENCODE_API_KEY, ANTHROPIC_API_KEY and OPENAI_API_KEY from the environment.

Describe the solution you'd like Add WALLY_API_KEY to OPENCODE_ENV_CREDENTIAL_KEYS in opencode-auth.provider.ts and to OPENCODE_ENV_PROVIDER_IDS in opencode-models.provider.ts, with tests. A small PR follows.

Additional context Wally is an OpenAI-compatible API for open-weight models, by RunAnywhere (we maintain it): https://docs.runanywhere.ai/wally-cloud/api

sanchitmonga22 avatar Nov 07 '26 01:11 sanchitmonga22