docs(proxy): document OpenCode provider environment variables - #908
Open
streber42 wants to merge 1 commit into
Open
docs(proxy): document OpenCode provider environment variables#908streber42 wants to merge 1 commit into
streber42 wants to merge 1 commit into
Conversation
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.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This was referenced Aug 17, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The LiteLLM proxy now serves OpenCode as a first-class provider (opencode_go and opencode_zen). The documentation test
documentation_test_env_keysfails on the code PR because the five OpenCode env vars are read inlitellm/but not documented anywhere.What changed
Adds rows to the environment variables Reference table in
proxy/config_settings.mdforOPENCODE_API_KEY,OPENCODE_GO_API_KEY,OPENCODE_ZEN_API_KEY,OPENCODE_GO_BASE_URL, andOPENCODE_ZEN_BASE_URL.OPENCODE_GO_API_KEY/OPENCODE_ZEN_API_KEYeach fall back to the sharedOPENCODE_API_KEYwhen unset; the twoBASE_URLvars list their defaults.Proof
Running
tests/documentation_tests/test_env_keys.pywith this docs tree mounted now reports "Every environment variable read under ./litellm is documented".