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
Phase 2 — Model injection: output [Model: X] to stderr before
each generation result (text, image, video, speech, music).
Phase 3 — Auth status + quota snapshot: 'minimax auth status'
now shows masked key, account info, and top-5 quota with percentages.
Phase 4 — Env key detection: 'minimax auth login' detects
MINIMAX_API_KEY in environment and prompts user before overwriting.
message: `Detected MINIMAX_API_KEY in environment (${maskedEnvKey}).\nYou are already authenticated via env.\nDo you still want to configure local persistent credentials?`,
41
+
initialValue: false,
42
+
});
43
+
if(!proceed){
44
+
process.stdout.write('Login skipped. Using environment variables.\n');
45
+
process.exit(0);
46
+
}
47
+
}else{
48
+
process.stderr.write(`Warning: MINIMAX_API_KEY is already set in environment.\n`);
0 commit comments