AxAgentFailureSignal Generated TypeScript API reference. typescript api api/reference build/apidocs/TypeAlias.AxAgentFailureSignal.md type AxAgentFailureSignal

AxAgentFailureSignal

TypeScript
type AxAgentFailureSignal = object;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/failureReport.ts#L24

Properties

code?

TypeScript
optional code: string;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/failureReport.ts#L35

Truncated offending actor code (or tool arguments digest).


detail

TypeScript
detail: string;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/failureReport.ts#L31

Human-readable failure line (error message / tool: error).


kind

TypeScript
kind: AxAgentFailureSignalKind;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/failureReport.ts#L25


occurrences

TypeScript
occurrences: number;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/failureReport.ts#L37

Number of merged occurrences of this (kind, signature) pair.


resolvedByTurn?

TypeScript
optional resolvedByTurn: number;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/failureReport.ts#L33

resolved_error only: turn whose action resolved the failure.


signature

TypeScript
signature: string;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/failureReport.ts#L29

Normalized fingerprint (extractErrorSignature) used for deduping.


turn

TypeScript
turn: number;

Defined in: https://github.com/ax-llm/ax/blob/3ac75e381dcefb739712993c304c34295567283a/src/ax/agent/agentInternal/failureReport.ts#L27

Turn the failing action ran in.

Docs