Table of Contents

Property MaxCompletionTokens

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

MaxCompletionTokens

Gets or sets the maximum number of tokens each agent may generate per invocation.

When set, this value is propagated to MaxCompletionTokens for every agent the orchestrator runs. Capping generation is strongly recommended for multi-agent orchestrations: without a cap, a single chatty model response can dominate wall-clock time (e.g. several minutes of CPU inference per agent call).

null (default) keeps each agent's own default (typically unlimited).

public int? MaxCompletionTokens { get; set; }

Property Value

int?
Share