feat(backends): support explicit backends.default selection
This commit is contained in:
@@ -322,6 +322,7 @@ Flynn can run with the built-in native backend or delegate message processing to
|
||||
|
||||
```yaml
|
||||
backends:
|
||||
default: codex
|
||||
native: { enabled: true }
|
||||
codex: { enabled: false, path: /usr/local/bin/codex, args: [], timeout_ms: 120000 }
|
||||
claude_code: { enabled: false, path: /usr/local/bin/claude, args: [], timeout_ms: 120000 }
|
||||
@@ -333,7 +334,7 @@ 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, set `backends.default` to choose explicitly. If omitted, Flynn selects by priority: `codex` -> `claude_code` -> `opencode` -> `gemini`.
|
||||
|
||||
You can also route specific named agents to a backend:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user