Commit 00f59c9
fix(polecat): pass agent override to startup command builder
When sling dispatches a polecat with --agent override (e.g., gemini),
the override was used to resolve the runtime config for fallback info
but NOT passed to BuildStartupCommandFromConfig. The command builder
re-resolved the agent from role_agents (defaulting to claude-opus),
so the actual tmux command launched claude instead of gemini.
Pass opts.Agent through so the correct agent binary and flags
(including -i for Gemini prompt injection) are used.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent e60401c commit 00f59c9
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
299 | 299 | | |
300 | 300 | | |
301 | 301 | | |
302 | | - | |
| 302 | + | |
303 | 303 | | |
304 | 304 | | |
305 | 305 | | |
| |||
0 commit comments