Skip to content

fix: update MiMo TTS default model - #9428

Merged
Soulter merged 1 commit into
AstrBotDevs:masterfrom
wcqqq1214:fix/9427-mimo-tts
Jul 28, 2026
Merged

fix: update MiMo TTS default model#9428
Soulter merged 1 commit into
AstrBotDevs:masterfrom
wcqqq1214:fix/9427-mimo-tts

Conversation

@wcqqq1214

@wcqqq1214 wcqqq1214 commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Fixes #9427.

Modifications / 改动点

  • Updated the MiMo TTS runtime fallback model from mimo-v2-tts to mimo-v2.5-tts.

  • Updated the MiMo TTS(API) WebUI provider template to use mimo-v2.5-tts.

  • This is NOT a breaking change. / 这不是一个破坏性变更。

Screenshots or Test Results / 运行截图或测试结果

$ uv run pytest -q
1925 passed, 7 warnings in 185.12s (0:03:05)

$ uv run ruff format --check .
482 files already formatted

$ uv run ruff check .
All checks passed!

No live MiMo API request was made because this change only updates the default model identifiers.


Checklist / 检查清单

  • 😊 If there are new features added in the PR, I have discussed it with the authors through issues/emails, etc.
    / 如果 PR 中有新加入的功能,已经通过 Issue / 邮件等方式和作者讨论过。

  • 👀 My changes have been well-tested, and "Verification Steps" and "Screenshots" have been provided above.
    / 我的更改经过了良好的测试,并已在上方提供了“验证步骤”和“运行截图”

  • 🤓 I have ensured that no new dependencies are introduced, OR if new dependencies are introduced, they have been added to the appropriate locations in requirements.txt and pyproject.toml.
    / 我确保没有引入新依赖库,或者引入了新依赖库的同时将其添加到 requirements.txtpyproject.toml 文件相应位置。

  • 😮 My changes do not introduce malicious code.
    / 我的更改没有引入恶意代码。

Summary by Sourcery

Update MiMo TTS defaults to use the newer v2.5 model across configuration and provider runtime.

Bug Fixes:

  • Switch the MiMo TTS runtime fallback model from mimo-v2-tts to the updated mimo-v2.5-tts endpoint.

Enhancements:

  • Align the MiMo TTS WebUI provider template default model with the newer mimo-v2.5-tts variant.

@wcqqq1214
wcqqq1214 marked this pull request as ready for review July 28, 2026 10:48
@dosubot dosubot Bot added size:XS This PR changes 0-9 lines, ignoring generated files. area:provider The bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner. labels Jul 28, 2026

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey - I've left some high level feedback:

  • Since mimo-v2.5-tts is now the default, consider wiring the config default (astrbot/core/config/default.py) to the DEFAULT_MIMO_TTS_MODEL constant instead of duplicating the string literal, so future model changes only need to be updated in one place.
Prompt for AI Agents
Please address the comments from this code review:

## Overall Comments
- Since `mimo-v2.5-tts` is now the default, consider wiring the config default (`astrbot/core/config/default.py`) to the `DEFAULT_MIMO_TTS_MODEL` constant instead of duplicating the string literal, so future model changes only need to be updated in one place.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@dosubot dosubot Bot added the lgtm This PR has been approved by a maintainer label Jul 28, 2026
@Soulter
Soulter merged commit 2b90b94 into AstrBotDevs:master Jul 28, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:provider The bug / feature is about AI Provider, Models, LLM Agent, LLM Agent Runner. lgtm This PR has been approved by a maintainer size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug][MIMO TTS API] 默认模型 ID 未同步更新至 v2.5,导致保存配置时报错

2 participants