Skip to content

fix(providers): 支持火山 Agent Plan / Coding Plan,并修正 temperature 参数序列化 - #1069

Merged
H-Chris233 merged 8 commits into
Open-Less:betafrom
MikuHello:codex/volcengine-plan-reviewed
Sep 12, 2026
Merged

H-Chris233 merged 8 commits into
Open-Less:betafrom
MikuHello:codex/volcengine-plan-reviewed

Conversation

@MikuHello

@MikuHello MikuHello commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

问题与改动

火山 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 版本号提交。

验证

  • 已有最终审查日志:Core 单元测试 793 通过、1 忽略;渠道配置重载检查 1 通过;完整前端检查通过。本次整理重新核对日志,没有重复运行整套测试。
  • macOS Apple Silicon 本地 Beta.2 包构建完成,项目脚本签名与 MLX 资源检查通过;使用 ad-hoc 签名。这个安装包是在本轮整理前构建的。本轮只整理了文档和注释,并删除了未使用的导入,没有改变功能逻辑,也没有重新打包。
  • 当前应用界面已核对 Agent Plan 服务选择、模型手填及控制台按钮,截图已收集。界面检查未触发真实验证请求。
  • 历史 1.3.18 截图及脱敏日志用于说明原始 400 / 404 / 401 现象,不作为当前构建通过联网验收的证据。

最终候选的真实麦克风→识别→润色→光标插入验收尚未完成。Linux、Windows、Android 未完成本次原生运行验收;构建有未阻断打包的警告。ASR 自动检查验证请求构建和配置兼容,不声称已完成真实网络握手回归。

MikuHello and others added 2 commits September 12, 2026 23:39
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>
@MikuHello MikuHello changed the title fix(providers): 支持火山套餐接入并修正温度序列化 fix(providers): 支持火山 Agent Plan / Coding Plan,并修正 temperature 参数序列化 Sep 12, 2026
@H-Chris233
H-Chris233 merged commit c4e8e88 into Open-Less:beta Sep 12, 2026
4 checks passed
@MikuHello
MikuHello deleted the codex/volcengine-plan-reviewed branch September 12, 2026 23:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants