Skip to content

[Bug]: MiniMax-cn在切换时健康误报情况 #12547

@muchstarlight

Description

@muchstarlight

Bug Description

描述
切换到 MiniMax 模型时(hermes model MiniMax-M2.7)验证失败,即使模型实际可用。

注: hermes doctor 存在类似问题,别人已经提交过,但模型切换没有报过问题,故提交问题

Steps to Reproduce

复现步骤

  1. 配置 MiniMax API Key(MINIMAX_API_KEY 或 MINIMAX_CN_API_KEY)
  2. 执行 hermes model MiniMax-M2.7

Expected Behavior

预期行为
模型切换成功,可正常对话。

Actual Behavior

实际行为
报错:Could not reach the MiniMax API to validate 'MiniMax-M2.7'. If the service isn't down, this model may not be valid.

Affected Component

Configuration (config.yaml, .env, hermes setup)

Messaging Platform (if gateway-related)

N/A (CLI only), Telegram, Discord, Slack, WhatsApp

Debug Report

Operating System

Debian 12

Python Version

3.11.15

Hermes Version

v0.10.0 (2026.4.16)

Additional Logs / Traceback (optional)

Root Cause Analysis (optional)

根本原因

  • MiniMax API 未实现 /v1/models 端点(返回 404)
  • Hermes 在模型切换时调用 /v1/models 验证模型是否可用
  • 验证失败导致切换被阻止,但 /v1/messages 聊天接口实际正常工作

Proposed Fix (optional)

No response

Are you willing to submit a PR for this?

  • I'd like to fix this myself and submit a PR

Metadata

Metadata

Assignees

No one assigned

    Labels

    type/bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions