You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`MINIMAX_API_KEY` already set (non-interactive) |`Warning: MINIMAX_API_KEY is already set in environment.`|
18
+
| No credentials found (non-interactive) |`No credentials found.` + the searched `config.json` path and hint: `Log in: mmx auth login`, `--api-key sk-xxxxx`, or `MMX_CONFIG_DIR=/path/to/.mmx`|
Copy file name to clipboardExpand all lines: README.md
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -158,6 +158,17 @@ Useful for CI/CD (`mmx auth login --api-key sk-xxxxx`), or pass per-command via
158
158
OAuth and API key are mutually exclusive — logging in with one clears the other.
159
159
Credential priority: `--api-key` flag > OAuth (config) > `api_key` (config).
160
160
161
+
### Environment variables
162
+
163
+
| Variable | Description |
164
+
|---|---|
165
+
|`MINIMAX_REGION`|`global` or `cn`. |
166
+
|`MINIMAX_BASE_URL`| Override the API base URL. |
167
+
|`MINIMAX_OUTPUT`|`text` or `json`. |
168
+
|`MINIMAX_TIMEOUT`| Request timeout in seconds. |
169
+
|`MINIMAX_VERBOSE`|`1` to enable verbose HTTP logging. |
170
+
|`MMX_CONFIG_DIR`| Directory containing the `config.json` file (default: `~/.mmx`). Set this when `mmx` runs from a subprocess, service, or CI job whose home directory differs from where you logged in. |
0 commit comments