Skip to content

[BUG] wrong endpoint for minimax models mm@ and max@ #121

@dev-seahouse

Description

@dev-seahouse

based on https://github.com/MadAppGang/claudish/blob/main/docs/settings-reference.md, models prefixed with mm@ and max@ are supposed to be calling minimaxi.com endpoint (https://api.minimaxi.com/anthropic), but the actual log shows that it is calling https://api.minimax.io/anthropic instead, which is for mmc@ prefix

Image

Logs

Claudish Debug Log - 2026-05-13T15:41:31.866Z
Log Level: debug
================================================================================

[2026-05-13T15:41:31.881Z] [Proxy] Server started on port 4276
[2026-05-13T15:41:31.882Z] [PricingCache] Disk cache stale or missing, using provider defaults
[2026-05-13T15:41:39.227Z] [Proxy] API key: MINIMAX_API_KEY=sk-cp-CV... [from: shell environment]
[2026-05-13T15:41:39.227Z] [Proxy] Handler: provider=minimax, model=minimax-m2.7-highspeed
[2026-05-13T15:41:39.227Z] [Middleware] Initializing 0 middleware(s)...
[2026-05-13T15:41:39.227Z] [Middleware] Initialization complete
[2026-05-13T15:41:39.229Z] [Proxy] Created minimax handler (composed): minimax-m2.7-highspeed
[2026-05-13T15:41:39.231Z] [MiniMax Request] {
  "targetModel": "mm@minimax-m2.7-highspeed",
  "originalModel": "claude-opus-4-7",
  "messageCount": 1,
  "toolCount": 9,
  "systemPromptLength": 25042,
  "maxTokens": 64000
}
[2026-05-13T15:41:39.231Z] [MiniMax] Last user message: [{"type":"text","text":"<system-reminder>\nThe following deferred tools are now available via ToolSearch. Their schemas are NOT loaded — calling them directly will fail with InputValidationError. Use ToolSearch with query \"select:<name>[,<name>...]\" to load tool schemas before calling them:\nCronCreate\nCronDelete\nCronList\nEnterPlanMode\nEnterWorktree\nExitPlanMode\nExitWorktree\nLSP\nListMcpResourcesTool\nMonitor\nNotebookEdit\nPushNotification\nReadMcpResourceTool\nTaskCreate\nTaskGet\nTas... [truncated 23295 chars]
[2026-05-13T15:41:39.231Z] [MiniMax] Tools: Agent, AskUserQuestion, Bash, Edit, Read, ScheduleWakeup, Skill, ToolSearch, Write
[2026-05-13T15:41:39.231Z] [MiniMax] Calling API: https://api.minimax.io/anthropic/v1/messages
[2026-05-13T15:41:40.870Z] [MiniMax] Response status: 401
[2026-05-13T15:41:40.870Z] [MiniMax] Error: {"type":"error","error":{"type":"authentication_error","message":"invalid api key"},"request_id":"0653ceb4151fddfaf3fca8cb95366392"}
[2026-05-13T15:41:40.871Z] Error [MiniMax]: HTTP 401. Check API key / OAuth credentials.
[2026-05-13T15:41:41.504Z] [MiniMax Request] {
  "targetModel": "mm@minimax-m2.7-highspeed",
  "originalModel": "claude-opus-4-7",
  "messageCount": 1,
  "toolCount": 9,
  "systemPromptLength": 25042,
  "maxTokens": 64000
}

@erudenko

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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