Method ApplyTo
ApplyTo(AgentInvocation)
Fills invocation with this definition's defaults wherever the request stayed
silent: the ONE resolution every host runs, so a definition behaves alike in-process and on a
server.
public void ApplyTo(AgentInvocation invocation)
Parameters
invocationAgentInvocationThe request's own settings; changed in place.
Remarks
- The definition's prompt is a prelude: the request's system text follows it, and a tool-bearing definition closes with ToolContinuityContract.
- Skill, tools, memory store, model and thinking level fill in only where the request is silent.
- A remembering definition gives a request without a memory id DefaultMemoryId, marked shared when its scope is AgentMemoryScope.
- A positive tool-call budget always applies: no request field states one.
- Knowledge settings with sources always apply: no request field states them.
Exceptions
- ArgumentNullException
Thrown when
invocationis null.