Skip to content

Subagent model pool: described candidates, the lead picks per spawn - #474

Merged
currentbits merged 1 commit into
mainfrom
coder/subagent-model-pool-described-candidates-797649
Aug 18, 2026
Merged

currentbits merged 1 commit into
mainfrom
coder/subagent-model-pool-described-candidates-797649

Conversation

@currentbits

Copy link
Copy Markdown
Owner

Fixes #467.

Settings now hold a worker-model pool so the lead can keep Opus and send explore/test workers to a cheap model without picking a raw id per spawn.

Each pool entry is an alias, provider, model, and one-line scenario. The lead sees those one-liners in a dispatch note and passes pool=<alias> on thread_fork. Omit pool to use the default (cheap) alias. force pins every worker to that default.

Empty pool keeps today's behaviour: workers inherit the lead. Cross-provider entries are the point (Claude lead, Kimi/Grok worker). The user-facing thread is not auto-routed (that stays #246). Best-of-N is still a user pick.

Resolution lives in forkWorkerThread, so thread_fork, the orchestrator's first pendingFork worker, and slash-command workers share one path.

  • PR created by the Grok agent

Settings now hold a worker-model pool: alias, provider, model, and a
one-line description, plus a default alias and optional force pin.
Orchestration workers resolve that menu in forkWorkerThread (thread_fork,
pendingFork, slash-command workers share the path). The lead sees the
one-liners in a dispatch note and passes pool=<alias>; omit pool to use
the cheap default. The user-facing thread is not auto-routed.

Closes #467
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@currentbits
currentbits merged commit c25c215 into main Aug 18, 2026
1 of 4 checks passed
@currentbits
currentbits deleted the coder/subagent-model-pool-described-candidates-797649 branch October 3, 2026 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Subagent model pool: described candidates, the lead picks per spawn

1 participant