Table of Contents

Method ApplyTo

Namespace
LMKit.Agents
Assembly
LM-Kit.NET.dll

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

invocation AgentInvocation

The 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 invocation is null.

Share