Skip to content

feat(delegation): let a parent pin model and session config per child - #505

Open
Adam-Dalloul wants to merge 1 commit into
xintaofei:mainfrom
Adam-Dalloul:feat/delegate-per-call-model
Open

feat(delegation): let a parent pin model and session config per child#505
Adam-Dalloul wants to merge 1 commit into
xintaofei:mainfrom
Adam-Dalloul:feat/delegate-per-call-model

Conversation

@Adam-Dalloul

Copy link
Copy Markdown

Settings already has per-agent defaults for whatever that agent advertises: model, reasoning, context, fast, mode. Those apply to every child of that type.

What was missing is pinning those knobs on one delegation. delegate_to_agent now takes optional model and config. Per-call values win over Settings. Omit them and the defaults stay. Agents that do not expose a selector ignore the unknown key.

The child card shows the pinned model.

Settings already has per-agent defaults. This adds optional model and
config on delegate_to_agent so one child can override those knobs
without changing the global defaults. Omit them and nothing changes.
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.

1 participant