Uh oh!
There was an error while loading. Please reload this page.
feat(llm): add OpenCode Zen polish provider, default deepseek-v4-flash - #1023
Open
zhou-zhichao wants to merge 2 commits into
Open
feat(llm): add OpenCode Zen polish provider, default deepseek-v4-flash#1023zhou-zhichao wants to merge 2 commits into
zhou-zhichao wants to merge 2 commits into
Conversation
Dictation polish uses OpenAI-compatible chat/completions. For OpenCode Go, change the Base URL to /zen/go/v1.
zhou-zhichaoforce-pushed
the
feat/opencode-llm-provider
branch
from
September 2, 2026 01:20
e4a14cc to
4cfacf1CompareH-Chris233
commented
Sep 7, 2026
Collaborator
开始审查 |
H-Chris233
commented
Sep 7, 2026
Collaborator
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 freeto 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.
Goal
OpenCode is available as a Less Computer CLI backend, but is missing from Settings → AI providers for dictation polish. Add OpenCode Zen as a polish LLM provider with
deepseek-v4-flashover the OpenAI-compatible/zen/v1/chat/completionsendpoint.Usage
deepseek-v4-flashFor an OpenCode Go subscription, change the same card's Base URL to
https://opencode.ai/zen/go/v1and use the Go console key.The thinking toggle uses DeepSeek's
thinking.type(off by default). A custom endpoint whose host containsopencode.aigets the same fallback.Implementation
crates/openless-core/src/polish.rs.Verification
Run from
openless-all/app:cargo test --locked -p openless-core— 886 passed, 1 ignored.npm run build— TypeScript and Vite build passed.node scripts/frontend-test-runner.mjs— all 69 test files passed.Regression coverage includes provider registration and defaults, API key requirements at the default endpoint, thinking enabled/disabled for the preset and a custom Go endpoint, and frontend consumption of Core defaults.
Scope
Does not change Less Computer / OpenCode CLI, and does not change ASR.