feat(backends): support {prompt} substitution in external CLI args
This commit is contained in:
@@ -329,6 +329,10 @@ backends:
|
|||||||
gemini: { enabled: false, path: /usr/local/bin/gemini, args: [], timeout_ms: 120000 }
|
gemini: { enabled: false, path: /usr/local/bin/gemini, args: [], timeout_ms: 120000 }
|
||||||
```
|
```
|
||||||
|
|
||||||
|
When `args` is non-empty:
|
||||||
|
- use `{prompt}` in an argument to inject the full generated prompt directly into argv.
|
||||||
|
- if `{prompt}` is not present, Flynn writes the prompt to stdin.
|
||||||
|
|
||||||
If multiple external backends are enabled, Flynn selects the first in this order: `codex` -> `claude_code` -> `opencode` -> `gemini`.
|
If multiple external backends are enabled, Flynn selects the first in this order: `codex` -> `claude_code` -> `opencode` -> `gemini`.
|
||||||
|
|
||||||
You can also route specific named agents to a backend:
|
You can also route specific named agents to a backend:
|
||||||
|
|||||||
Reference in New Issue
Block a user