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

AxCodeExecutionResult

TypeScript
type AxCodeExecutionResult = object;

Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/agent/rlm.ts#L397

Result of AxCodeSession.executeWithStatus.

Properties

isError

TypeScript
isError: boolean;

Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/agent/rlm.ts#L404

True when value is the runtime’s report of an error in the code (for example ReferenceError: x is not defined) rather than a normal result.


value

TypeScript
value: unknown;

Defined in: https://github.com/ax-llm/ax/blob/686f8ba96cf652e044cf922b67c16c8f09754a70/src/ax/agent/rlm.ts#L399

The value execute() resolves with for the same code.

Docs