feat(backends): add retry/backoff controls for external CLI execution

This commit is contained in:
William Valentin
2026-02-17 09:49:06 -08:00
parent 1f3d35726b
commit 4400bdfcc9
5 changed files with 64 additions and 8 deletions
+2
View File
@@ -330,6 +330,8 @@ backends:
gemini: { enabled: false, path: /usr/local/bin/gemini, args: [], timeout_ms: 120000 }
```
Each external backend also supports `retries` and `retry_delay_ms` for transient CLI failures.
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.