Skip to content

feat(asr): 支持 MiniMax 语音识别服务接入 (fixes #1080) - #1085

Open
tayir-m wants to merge 1 commit into
Open-Less:betafrom
tayir-m:feat/minimax-asr
Open

tayir-m wants to merge 1 commit into
Open-Less:betafrom
tayir-m:feat/minimax-asr

Conversation

@tayir-m

@tayir-m tayir-m commented Sep 18, 2026

Copy link
Copy Markdown

摘要

Fixes #1080

支持 MiniMax ASR (asr-1.0) 语音转文字服务接入。

修复 / 新增 / 改进

  • 新增内置 MiniMax ASR 服务商类型(minimax),预置默认 Endpoint(https://api.minimaxi.com/v1)与默认模型(asr-1.0)。
  • 兼容 MiniMax 专有 /v1/speech_to_text 路径:当主机为 minimaxi.com / minimax.chat 或 URL 指定 /speech_to_text 时自动映射,避免先前追加 /audio/transcriptions 导致的 404 错误。
  • 增加 MiniMax 响应体 base_resp 状态码与报错信息校验。
  • 补齐前端设置项 UI 及 8 种语言本地化字典(asrMinimax)。
  • 同步更新前后端契约描述符及单测。

兼容

  • 不包含:对其它 Whisper 兼容服务商或本地模型的破坏性改动。
  • 对现有用户 / 本地环境 / 构建流程的影响:无破坏性影响,现有配置保持兼容。

测试计划

  • 命令:cargo test -p openless-core
  • 结果:809 tests passed, 0 failed
  • 命令:npm test
  • 结果:84 test suites passed, 0 failed
  • 证据路径:Ubuntu 真实设备运行验证通过,MiniMax ASR 成功转录上屏

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.

[area] 增加minimax-asr的设置

1 participant