fix: update MiniMax harness base URL to api.minimaxi.chat

MiniMax moved their Anthropic-compatible API from api.minimax.io to
api.minimaxi.chat. Update ANTHROPIC_BASE_URL in the minimax/v1 context
harness and corresponding comments in init.sh and the TODO note.

Model routing is unaffected: the API defaults unrecognised model names
(e.g. "minimax" from the registry slug) to MiniMax-M3 already.

Claude-Session: https://claude.ai/code/session_01XtWRazqRbMnMRa4iV3zbVx
This commit is contained in:
Paul O'Reilly
2026-07-17 22:55:47 +12:00
parent 1da98eb708
commit 2c1ec7d52c
2 changed files with 3 additions and 3 deletions

View File

@@ -15,7 +15,7 @@
#
# Auth wire-up: apiKeyHelper output is sent as `Authorization: Bearer
# <value>` when ANTHROPIC_BASE_URL is non-anthropic.com — exactly what
# api.minimax.io/anthropic requires. The secret value never enters this
# api.minimaxi.chat/anthropic requires. The secret value never enters this
# process' env, the claude subprocess' env, or /proc/<pid>/environ.
set -euo pipefail