Skip to content

feat: native provider mixing in run_swarm / run_task (#440)#442

Merged
justrach merged 1 commit intomainfrom
feat/440-native-provider-mixing
Apr 11, 2026
Merged

feat: native provider mixing in run_swarm / run_task (#440)#442
justrach merged 1 commit intomainfrom
feat/440-native-provider-mixing

Conversation

@justrach
Copy link
Copy Markdown
Owner

Summary

  • run_task: Add model param — threads through runChainStep/runChainStepWithBudget to AgentRequest.resolveWithProbe, enabling explicit Claude/Codex model selection per chain
  • run_swarm: Add per_agent_model map — per-role model overrides (e.g. {"finder":"haiku","fixer":"opus"}) that take precedence over the top-level model param
  • Updated MCP tool schemas with both new params

Closes #440

Co-authored-by: trilokagent 275208033+trilokagent@users.noreply.github.com

- Add model param to run_task and thread it through runChainStep/runChainStepWithBudget
- Add per_agent_model map to run_swarm for per-role model overrides
- Update MCP tool schemas with new params
- Model reaches AgentRequest.resolveWithProbe for provider routing

Co-authored-by: trilokagent <275208033+trilokagent@users.noreply.github.com>
@justrach justrach merged commit 0d6a329 into main Apr 11, 2026
2 checks passed
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.

feat: native provider mixing in run_swarm / run_task (Claude + Codex per-agent)

1 participant