fix(providers): 支持火山 Agent Plan / Coding Plan,并修正 temperature 参数序列化 - #1069
Merged
H-Chris233 merged 8 commits intoSep 12, 2026
Merged
Conversation
2 tasks
Apply the official-endpoint API key requirement to Agent Plan and Coding Plan across configured state, validation, and LLM construction. Reuse the Core policy in both credential adapters and preserve optional keys for custom endpoints and the dedicated plan request addresses. Add regression coverage for missing, empty, whitespace-only and nonempty keys, endpoint normalization, and all three LLM builder protocols. This fix addresses a finding from a user-initiated AI red/blue review of PR Open-Less#1069. Implementation assistance: Codex. Validation on macOS: - Core: 962 tests passed, 1 ignored; new regressions failed before the fix. - Linux Host: 57 tests passed (run on macOS, not native Linux validation). - Tauri: cargo check --locked passed. - git diff --check passed. Workspace and Tauri format checks report only unchanged baseline differences, verified against the parent commit. - GUI/manual platform acceptance and live plan API calls were not run. Co-authored-by: Codex <noreply@openai.com>
Share the HTTP test setup for omitted custom-provider temperature and Ark's default 0.3 representation. Keep both request assertions and the polished response check. Reduce the Ark builder matrix from 48 to 24 cases: exercise every key state once per endpoint and keep successful construction for all three protocols. Production behavior is unchanged. Validation: focused regressions and the full Core suite pass (961 passed, 1 ignored). Changed files pass rustfmt; workspace formatting still reports only existing differences outside this change. git diff --check passes. Matt Standards and Spec reviews reported no findings for this increment. Implementation assistance: Codex. Co-authored-by: Codex <noreply@openai.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.
问题与改动
火山 ASR(语音识别)
缺少 Agent Plan 服务选项。增加普通服务 / Agent Plan 选择,验证与听写使用对应端点和鉴权。
火山方舟(语言模型)
Agent Plan / Coding Plan 配置不直观,温度序列化还会产生多余小数。增加套餐预设、协议路径适配和模型控制台入口,保留模型手填及验证;将温度
0.3按原值发送,避免展开为0.30000001192092896。关联与范围
Related to #1062 and #1063. Replaces the withdrawn #1068.
本次重新整理了旧 PR 的范围和验证说明:不保留旧模型目录 404 特殊处理、静态模型列表或额外公开 ASR 测试连接器。Coding Plan 不提供语音选项。提交分为温度修复、Agent Plan ASR、LLM 套餐配置三部分;不包含本地 Beta.2 版本号提交。
验证
最终候选的真实麦克风→识别→润色→光标插入验收尚未完成。Linux、Windows、Android 未完成本次原生运行验收;构建有未阻断打包的警告。ASR 自动检查验证请求构建和配置兼容,不声称已完成真实网络握手回归。