Skip to content

StepTurn

Namespace: E2E

public sealed record StepTurn : IEquatable<StepTurn>

One model turn of an agent step: the tool calls the model made and what came back, each bounded (upstream’s StepTurn).

Inheritance: object

Implements: IEquatable<StepTurn>

View source

StepTurn(int, IReadOnlyList<string>, string)

Section titled “StepTurn(int, IReadOnlyList<string>, string)”
public StepTurn(int Index, IReadOnlyList<string> Calls, string Outcome)

One model turn of an agent step: the tool calls the model made and what came back, each bounded (upstream’s StepTurn).

Parameters

Name Type Description
Index int One-based turn number within the step.
Calls IReadOnlyList<string> tap({"target":"n19"}), one per tool call, arguments clipped.
Outcome string The tool results of the turn, clipped.

View source

public IReadOnlyList<string> Calls { get; init; }

tap({"target":"n19"}), one per tool call, arguments clipped.

Value: IReadOnlyList<string>

View source

public int Index { get; init; }

One-based turn number within the step.

Value: int

View source

public string Outcome { get; init; }

The tool results of the turn, clipped.

Value: string

View source