Skip to content

ActOptions

Namespace: E2E

public sealed class ActOptions

Values passed into one CancellationToken) goal. Put fresh data in Unique(string).

Inheritance: object

View source

public string? Agent { get; init; }

The named agent that runs the step. Defaults to default.

Value: string

View source

public int? MaxModelCalls { get; init; }

Model-call budget. Defaults to the configured MaxModelCalls and can only lower it.

Value: int?

View source

public int? MaxSteps { get; init; }

Action budget. Defaults to the configured MaxSteps (25) and can only lower it.

Value: int?

View source

public ActionHook? OnAction { get; init; }

Runs after each action the step completes, once the screen settles, and before the next one. It also runs for the actions the replay cache replays. Awaited, and its time counts toward Timeout. Observe only: drive nothing from it. A throw fails the step.

Value: ActionHook

View source

public IReadOnlyDictionary<string, object?>? Params { get; init; }

Value: IReadOnlyDictionary<string, object>

View source

public TimeSpan? Timeout { get; init; }

Value: TimeSpan?

View source