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/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/agent/rlm.ts#L406

Result of AxCodeSession.executeWithStatus.

Properties

isError

TypeScript
isError: boolean;

Defined in: https://github.com/ax-llm/ax/blob/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/agent/rlm.ts#L413

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/f60ce12a5a7a0de6d7bf420400ca77934ea61504/src/ax/agent/rlm.ts#L408

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

Docs