Skip to content

docs(proxy): document OpenCode provider environment variables - #908

Open
streber42 wants to merge 1 commit into
BerriAI:mainfrom
streber42:litellm_opencode_providers_docs
Open

docs(proxy): document OpenCode provider environment variables#908
streber42 wants to merge 1 commit into
BerriAI:mainfrom
streber42:litellm_opencode_providers_docs

Conversation

@streber42

Copy link
Copy Markdown

Why

The LiteLLM proxy now serves OpenCode as a first-class provider (opencode_go and opencode_zen). The documentation test documentation_test_env_keys fails on the code PR because the five OpenCode env vars are read in litellm/ but not documented anywhere.

What changed

Adds rows to the environment variables Reference table in proxy/config_settings.md for OPENCODE_API_KEY, OPENCODE_GO_API_KEY, OPENCODE_ZEN_API_KEY, OPENCODE_GO_BASE_URL, and OPENCODE_ZEN_BASE_URL.

OPENCODE_GO_API_KEY / OPENCODE_ZEN_API_KEY each fall back to the shared OPENCODE_API_KEY when unset; the two BASE_URL vars list their defaults.

Proof

Running tests/documentation_tests/test_env_keys.py with this docs tree mounted now reports "Every environment variable read under ./litellm is documented".

Add the five OpenCode provider env vars to the environment variables
reference table: OPENCODE_API_KEY, the per-surface OPENCODE_GO_API_KEY /
OPENCODE_ZEN_API_KEY (each falling back to the shared key), and
OPENCODE_GO_BASE_URL / OPENCODE_ZEN_BASE_URL with their defaults.
@vercel

vercel Bot commented Aug 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
litellm Ready Ready Preview Aug 17, 2026 4:02am

Request Review

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