Skip to content

StageTermination.MaxToolCallsReached

NexusLabs.Needlr.AgentFramework

NexusLabs.Needlr.AgentFramework.Diagnostics.StageTermination

StageTermination.MaxToolCallsReached Class

The cumulative tool-call count across all iterations exceeded the configured MaxTotalToolCalls limit.

public sealed record StageTermination.MaxToolCallsReached : NexusLabs.Needlr.AgentFramework.Diagnostics.StageTermination, System.IEquatable<NexusLabs.Needlr.AgentFramework.Diagnostics.StageTermination.MaxToolCallsReached>

Inheritance System.Object 🡒 StageTermination 🡒 MaxToolCallsReached

Implements System.IEquatable<MaxToolCallsReached>

Constructors

MaxToolCallsReached(int, int) Constructor

The cumulative tool-call count across all iterations exceeded the configured MaxTotalToolCalls limit.

public MaxToolCallsReached(int Limit, int ToolCallsUsed);

Parameters

Limit System.Int32

The configured cumulative tool-call limit.

ToolCallsUsed System.Int32

How many tool calls actually ran across all iterations.

Properties

StageTermination.MaxToolCallsReached.Limit Property

The configured cumulative tool-call limit.

public int Limit { get; init; }

Property Value

System.Int32

StageTermination.MaxToolCallsReached.ToolCallsUsed Property

How many tool calls actually ran across all iterations.

public int ToolCallsUsed { get; init; }

Property Value

System.Int32