feat(providers): 新增 API Route 内置润色渠道 - #1124
Closed
DennyHo0917 wants to merge 1 commit into
Closed
DennyHo0917 wants to merge 1 commit into
DennyHo0917 wants to merge 1 commit into
Conversation
appergb
added a commit
that referenced
this pull request
Sep 30, 2026
Integrate ASR/Omni fixes, API Route, Android IME and confirmation-based vocabulary learning. Complete settings transitions and macOS single-item credential storage. Synchronize all application versions to 2.0.0-Beta.4+build.20260930. Integrated PRs: #1116, #1120, #1121, #1123, #1124, #1067 and #1128. Linux #1117 remains independent and is excluded from automatic release. Validated: full cross-platform CI, 18 UI motion cases, 112 frontend test files, 1245 Core tests (1 ignored) and 572 macOS native tests. Co-authored-by: HKLHaoBin <we3q@qq.com>
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.
摘要
没有关联 issue。
新增 API Route 作为内置文字润色渠道,沿用现有 OpenAI 兼容请求和模型拉取流程。渠道为可选项,不改变默认渠道或自动选择逻辑。
修复 / 新增 / 改进
api-route,默认接口为https://global.api-route.com/v1,默认模型为deepseek-v4-flash,并接入现有密钥、验证和润色流程。兼容
测试计划
cargo test --locked -p openless-core:1045 通过、1 忽略。npm run build;npx tsx src/lib/ipc/providers.test.ts;npx tsx src/pages/settings/ProvidersSection.test.ts。rustfmt --check与git diff --check。npm test的前置构建通过,但完整前端测试在未修改的scripts/ci-cache-usage.test.mjs上失败:该脚本在 Windows 上读取临时deleted.tsv时收到ENOENT。相关 Provider 前端测试已单独通过。