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
# ╔══════════════════════════════════════════════════════════════════════════════╗
# ║ 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"
# base_url = "https://api.minimaxi.com" # China users
# 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
# ─────────────────────────────────────────────────────────────────────────────────
# 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 (PLANNED - not yet implemented)
# ─────────────────────────────────────────────────────────────────────────────────
# [rlm]
# max_context_chars = 10000000 # Max characters for context (10MB)
# max_search_results = 100 # Max search results
# default_chunk_size = 2000 # Default chunk size
# default_overlap = 200 # Default chunk overlap
# session_dir = "~/.minimax/rlm" # Directory for RLM sessions
# ─────────────────────────────────────────────────────────────────────────────────
# 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'"