1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
# ╔══════════════════════════════════════════════════════════════════════════════╗
# ║ MiniMax CLI Configuration ║
# ║ ║
# ║ Unofficial CLI for MiniMax Platform - Not affiliated with MiniMax Inc. ║
# ╚══════════════════════════════════════════════════════════════════════════════╝
# See `docs/CONFIGURATION.md` for how config is loaded (profiles, env overrides, etc.).
# ─────────────────────────────────────────────────────────────────────────────────
# API Keys
# ─────────────────────────────────────────────────────────────────────────────────
= "YOUR_MINIMAX_API_KEY" # must be non-empty
# anthropic_api_key = "YOUR_ANTHROPIC_COMPAT_API_KEY" # Not yet supported
# ─────────────────────────────────────────────────────────────────────────────────
# Base URLs
# ─────────────────────────────────────────────────────────────────────────────────
= "https://api.minimax.io" # US/global endpoint (default)
# base_url = "https://api.minimaxi.com" # China endpoint
# anthropic_base_url = "https://api.minimax.io/anthropic" # Computed from base_url
# ─────────────────────────────────────────────────────────────────────────────────
# Default Models
# ─────────────────────────────────────────────────────────────────────────────────
= "MiniMax-M2.1"
# Parsed but currently unused (reserved for future versions):
# default_image_model = "image-01"
# default_video_model = "video-01"
# default_audio_model = "speech-01"
# default_music_model = "music-01"
# ─────────────────────────────────────────────────────────────────────────────────
# Paths
# ─────────────────────────────────────────────────────────────────────────────────
= "~/.minimax/skills"
= "~/.minimax/mcp.json"
= "~/.minimax/notes.txt"
# Parsed but currently unused (reserved for future versions):
# output_dir = "./outputs"
# tools_file = "./tools.json"
# memory_path = "~/.minimax/memory.md"
# ─────────────────────────────────────────────────────────────────────────────────
# Security
# ─────────────────────────────────────────────────────────────────────────────────
= false
# ─────────────────────────────────────────────────────────────────────────────────
# Feature Flags
# ─────────────────────────────────────────────────────────────────────────────────
[]
= true
= true
= true
= true
= true
= true
= true
= true
# ─────────────────────────────────────────────────────────────────────────────────
# Retry Configuration
# ─────────────────────────────────────────────────────────────────────────────────
[]
= true
= 3
= 1.0
= 60.0
= 2.0
# ─────────────────────────────────────────────────────────────────────────────────
# Context Compaction (PLANNED - not yet implemented)
# ─────────────────────────────────────────────────────────────────────────────────
# [compaction]
# enabled = false # Enable auto-compaction
# token_threshold = 50000 # Trigger compaction above this token estimate
# message_threshold = 50 # Or above this message count
# model = "MiniMax-M2.1" # Model to use for summarization
# cache_summary = true # Cache the summary block
# ─────────────────────────────────────────────────────────────────────────────────
# RLM Sandbox Configuration
# ─────────────────────────────────────────────────────────────────────────────────
[]
= 10000000 # Max characters for context (10MB)
= 100 # Max search results
= 2000 # Default chunk size
= 200 # Default chunk overlap
= "~/.minimax/rlm" # Directory for RLM sessions
# ─────────────────────────────────────────────────────────────────────────────────
# Duo Mode Configuration
# ─────────────────────────────────────────────────────────────────────────────────
[]
= 10 # Max turns before timeout
= 0.9 # Score needed for approval (0-1)
= 8192 # Default max tokens for Duo requests
= 0.3 # Temperature for coach validation
= 0.7 # Temperature for player implementation
# ─────────────────────────────────────────────────────────────────────────────────
# Coding API Configuration
# ─────────────────────────────────────────────────────────────────────────────────
# Use a separate API key and endpoint for coding tasks
# api_key_2 = "YOUR_CODING_API_KEY" # Optional: separate coding API key
# base_url_2 = "https://api.minimax.io" # Optional: separate coding endpoint
# default_coding_model = "MiniMax-M2.1-Coding" # Model for coding tasks
# ─────────────────────────────────────────────────────────────────────────────────
# Profile Example (for multiple environments)
# ─────────────────────────────────────────────────────────────────────────────────
# Select a profile with `minimax --profile <name>` or `MINIMAX_PROFILE=<name>`.
[]
= "WORK_MINIMAX_API_KEY"
= "https://api.minimax.io"
[]
= "DEV_MINIMAX_API_KEY"
= true
# ─────────────────────────────────────────────────────────────────────────────────
# Hooks (optional)
# ─────────────────────────────────────────────────────────────────────────────────
# Hooks run shell commands on lifecycle events (session start/end, tool calls, etc.).
# Configure as `[[hooks.hooks]]` under a `[hooks]` table.
#
# [hooks]
# enabled = true
# default_timeout_secs = 30
#
# [[hooks.hooks]]
# event = "session_start"
# command = "echo 'MiniMax CLI session started'"