Fixes #291 The gemini CLI configuration had a duplicate -o json flag that caused Gemini to return plain text instead of JSON, breaking the clink parser. Root cause: - Internal defaults (clink/constants.py) already provide -o json - Config file (conf/cli_clients/gemini.json) duplicated this flag - Result: command became 'gemini -o json ... -o json' (duplicate) This caused Gemini CLI to malfunction and output plain text, leading to 'Failed to decode Gemini CLI JSON output' errors. Solution: Remove the duplicate -o json from additional_args since it's already provided by internal defaults, matching the pattern used by claude and codex CLI configurations. After fix: - Command: gemini -o json --telemetry false --yolo (correct) - Output: Valid JSON with response and stats - Parser: Successfully extracts content and metadata
25 lines
481 B
JSON
25 lines
481 B
JSON
{
|
|
"name": "gemini",
|
|
"command": "gemini",
|
|
"additional_args": [
|
|
"--telemetry",
|
|
"false",
|
|
"--yolo"
|
|
],
|
|
"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": []
|
|
}
|
|
}
|
|
}
|