Skip to content

fix(omni): align DashScope audio data-URL with official Base64 format - #1121

Closed
HKLHaoBin wants to merge 3 commits into
Open-Less:betafrom
HKLHaoBin:fix/1118-omni-dashscope-url
Closed

HKLHaoBin wants to merge 3 commits into
Open-Less:betafrom
HKLHaoBin:fix/1118-omni-dashscope-url

Conversation

@HKLHaoBin

Copy link
Copy Markdown
Collaborator

Summary

  • DashScope Omni input_audio.data 改为官方示例形态 data:;base64,…,并带上独立 format 与 modalities: ["text"],修复 Android 真实听写 audio=true 时的 URL 400(The provided URL does not appear to be valid)。
  • 设置页渠道验证文案明确:Omni「连接测试」仅为文本探测,通过不代表音频听写可用。
  • 附带 CI 稳定修复:FixedClock 历史戳相对保留窗口;clippy doc_lazy_continuation。

Fixes #1118

Test plan

  • 相关单测 / CI(CI、Release Tauri、Android APK)在 fork 分支已绿
  • 维护者自测:DashScope Omni 短录音听写不再出现 URL 400
  • Reviewer:确认 Bailian 主机路径走 data:;base64,非 Bailian 仍保持既有 data-URL 行为
  • Reviewer:设置 → Providers 文案在各语言下可读(文本验证 ≠ 音频可用)

…Open-Less#1118)

Use data:;base64 for Bailian hosts, set modalities=[text], and clarify Omni
channel validation is text-only so a green check does not imply audio works.
retain_with_policy uses wall-clock Utc::now(), so a hard-coded Aug 28 stamp
was pruned once CI ran past the 30-day cutoff.
A leading '+' in the doc line was parsed as a markdown list item under -D warnings.
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>
@appergb appergb closed this Sep 30, 2026
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.

[android][omni] 多模态听写 audio=true 时 DashScope 返回 400:provided URL is not valid

2 participants