Skip to content

fix(minimax): update base URLs from /anthropic to /v1#22830

Open
Ramadas108 wants to merge 1 commit into
NousResearch:mainfrom
Ramadas108:fix/minimax-base-url-v1
Open

fix(minimax): update base URLs from /anthropic to /v1#22830
Ramadas108 wants to merge 1 commit into
NousResearch:mainfrom
Ramadas108:fix/minimax-base-url-v1

Conversation

@Ramadas108

Copy link
Copy Markdown

Summary

MiniMax deprecated the /anthropic endpoint path in favor of /v1. The /anthropic path returns 404 for chat completions and model listing requests, breaking auxiliary tasks (compression, vision) routed to MiniMax's OpenAI-compatible endpoint.

Changes

Updated provider base URLs from /anthropic to /v1 across four files:

File Lines Change
plugins/model-providers/minimax/__init__.py 3 ProviderProfile base_url (minimax, minimax-cn, minimax-oauth)
hermes_cli/auth.py 2 inference_base_url in PROVIDER_REGISTRY (minimax, minimax-cn)
hermes_cli/providers.py 1 base_url_override in HERMES_OVERLAYS (minimax-oauth)
run_agent.py 2 Comment + runtime URL check in delta-only overflow detection

All URLs:

  • https://api.minimax.io/anthropichttps://api.minimax.io/v1
  • https://api.minimaxi.com/anthropichttps://api.minimaxi.com/v1

The main agent loop uses Anthropic Messages format (/anthropic/v1/messages) and is not affected — only the OpenAI-compatible paths (/v1/chat/completions) used by auxiliary clients, health checks, and model validation are corrected.

Related Issues

Verification

  • Changes verified against working local deployment
  • MiniMax API responds correctly at /v1/chat/completions
  • /anthropic/chat/completions returns 404

MiniMax deprecated the /anthropic endpoint path in favor of /v1.
The /anthropic path returns 404 for chat completions and model
listing requests.

Updated across four files that define provider base URLs and
runtime path checks:

- plugins/model-providers/minimax/__init__.py: 3 ProviderProfile
  base_url entries (minimax, minimax-cn, minimax-oauth)
- hermes_cli/auth.py: 2 inference_base_url entries in
  PROVIDER_REGISTRY (minimax, minimax-cn)
- hermes_cli/providers.py: 1 base_url_override in HERMES_OVERLAYS
  (minimax-oauth)
- run_agent.py: 1 comment reference + 1 runtime URL check in
  delta-only overflow detection

Relates to NousResearch#5781, NousResearch#12460, NousResearch#6039
@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have provider/minimax MiniMax (Anthropic transport) comp/plugins Plugin system and bundled plugins comp/cli CLI entry point, hermes_cli/, setup wizard labels May 9, 2026
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 comp/plugins Plugin system and bundled plugins 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.

2 participants