Mirrors agent-runtimes — adds ANTHROPIC_AUTH_TOKEN_FILE pointer so the Claude runner sets apiKeyHelper. Without it Claude Code CLI exits with 'Not logged in'. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
25 lines
627 B
YAML
25 lines
627 B
YAML
kind: context
|
|
name: minimax
|
|
version: 1
|
|
description: "MiniMax coding plan — Anthropic-compatible proxy"
|
|
requires: []
|
|
provides: [claude-code]
|
|
|
|
env:
|
|
ANTHROPIC_BASE_URL: "https://api.minimax.io/anthropic"
|
|
ANTHROPIC_AUTH_TOKEN_FILE: "/run/agent/secrets/minimax/api_key"
|
|
CLAUDE_CODE_DISABLE_EXPERIMENTAL_BETAS: "1"
|
|
CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC: "1"
|
|
DISABLE_PROMPT_CACHING: "1"
|
|
|
|
secrets_required:
|
|
- name: minimax
|
|
account_ref: "minimax"
|
|
mount_path: /run/agent/secrets/minimax
|
|
mode: "0400"
|
|
|
|
scripts:
|
|
init: ./init.sh
|
|
|
|
# TODO: Add network_hosts for api.minimax.io when context harnesses support it
|