The results of code execution run by the model.
Signature:
export interface CodeExecutionResult
Properties
Property | Type | Description |
---|---|---|
outcome | Outcome | The result of the code execution. |
output | string | The output from the code execution, or an error message if it failed. |
CodeExecutionResult.outcome
The result of the code execution.
Signature:
outcome?: Outcome;
CodeExecutionResult.output
The output from the code execution, or an error message if it failed.
Signature:
output?: string;