Skip to content

fix: skip MiniMax health check to avoid false 404 on /v1/models (#12399)#12403

Open
vominh1919 wants to merge 1 commit into
NousResearch:mainfrom
vominh1919:fix/12399-minimax-health-check
Open

fix: skip MiniMax health check to avoid false 404 on /v1/models (#12399)#12403
vominh1919 wants to merge 1 commit into
NousResearch:mainfrom
vominh1919:fix/12399-minimax-health-check

Conversation

@vominh1919

Copy link
Copy Markdown
Contributor

Problem

hermes doctor calls GET /v1/models on MiniMax base URL and reports a warning (HTTP 404) even though MiniMax chat completions work fine — MiniMax simply doesn't implement this endpoint.

Fix

Set _supports_health_check to False for both MiniMax and MiniMax (China) in the _apikey_providers list in hermes_cli/doctor.py. This skips the GET /v1/models call and shows "key configured" instead, matching the pattern already used for OpenCode Go.

Fixes #12399

MiniMax's /v1/models endpoint returns 404 even when the API key is
valid and chat completions work fine. This caused 'hermes doctor' to
show a warning (HTTP 404) for a perfectly functional provider.

Set _supports_health_check to False for both MiniMax and MiniMax (China),
showing 'key configured' instead of hitting the broken endpoint.

Fixes NousResearch#12399
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/cli CLI entry point, hermes_cli/, setup wizard provider/minimax MiniMax (Anthropic transport) labels Apr 23, 2026
@alt-glitch

Copy link
Copy Markdown
Collaborator

Multiple PRs target the same MiniMax doctor health-check skip: #13780 (MiniMax-CN), #8079 (regression fix). Consider consolidating.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

comp/cli CLI entry point, hermes_cli/, setup wizard P3 Low — cosmetic, nice to have provider/minimax MiniMax (Anthropic transport) type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

hermes doctor MiniMax health check false positive (HTTP 404)

2 participants