Files
my-pal-mcp-server/conf/cli_clients/gemini.json
Victor Hong eb3dff8458 fix: Add JSON output flag to gemini CLI configuration
The gemini CLI was returning plain text instead of JSON, causing clink to fail with:
'Failed to decode Gemini CLI JSON output: Expecting value: line 1 column 1 (char 0)'

Root cause: gemini.json was missing the '-o json' flag in additional_args.

This fix adds '-o json' to ensure JSON output format, aligning with the codex pattern (which uses --json).

Tested with gemini CLI v0.8.2
2025-10-14 18:28:16 +11:00

27 lines
503 B
JSON

{
"name": "gemini",
"command": "gemini",
"additional_args": [
"--telemetry",
"false",
"--yolo",
"-o",
"json"
],
"env": {},
"roles": {
"default": {
"prompt_path": "systemprompts/clink/default.txt",
"role_args": []
},
"planner": {
"prompt_path": "systemprompts/clink/default_planner.txt",
"role_args": []
},
"codereviewer": {
"prompt_path": "systemprompts/clink/default_codereviewer.txt",
"role_args": []
}
}
}