Commit c23cbcb
CRITICAL FIX: Prevent INFO messages from corrupting Mistral API key file
Bug: INFO messages in prompt_and_validate_mistral_key() were echoed to stdout
and captured when calling MISTRAL_API_KEY=$(prompt_and_validate_mistral_key),
resulting in key file containing INFO text + actual key (169 chars instead of 32).
Fix: Redirect INFO echo statements to stderr (>&2) so only the key goes to stdout.
Impact: Mistral key detection now works correctly across MCP installations.
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>1 parent 7211397 commit c23cbcb
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
368 | 368 | | |
369 | 369 | | |
370 | 370 | | |
371 | | - | |
372 | | - | |
373 | | - | |
| 371 | + | |
| 372 | + | |
| 373 | + | |
374 | 374 | | |
375 | 375 | | |
376 | 376 | | |
| |||
0 commit comments