docs(providers): document the OpenCode Zen and Go providers - #1170
Open
codedoga wants to merge 1 commit into
Open
docs(providers): document the OpenCode Zen and Go providers#1170codedoga wants to merge 1 commit into
codedoga wants to merge 1 commit into
Conversation
BerriAI/litellm#39549 adds `opencode/` and `opencode_go/`, which read OPENCODE_API_KEY. The env-key documentation test fails until that variable is mentioned here. Adds a provider page covering both services, the session id that keeps a conversation pinned to one upstream, and the two cost-tracking quirks, plus reference rows for the key and the two base URL overrides.
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Author
|
@mateo-berri would it be possible to take a look at this and BerriAI/litellm#39549 so that opencode keeps working after tomorrow? |
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.
Companion to BerriAI/litellm#39549, which adds the
opencode/(Zen) andopencode_go/(Go) providers.That PR reads
OPENCODE_API_KEY, sotests/documentation_tests/test_env_keys.pyfails until the variable is mentioned here. Both thecode-qualityanddocumentationjobs are red on it right now for exactly that reason.What's here
docs/providers/opencode, covering both services, the single account key that authenticates them, and SDK plus proxy usagelitellm_session_id, since OpenCode requires anx-opencode-sessionheader and uses it to pin a conversation to one upstream so its prompt cache stays warmOPENCODE_API_KEY,OPENCODE_API_BASEandOPENCODE_GO_API_BASEindocs/proxy/config_settings.mdproviders/opencodeentry insidebars.jsChecks
npm run buildsucceeds andnode scripts/check-writing-style.jsreports no prose em dashes and no vocabulary warnings on the changed files.