Class InteractionCodeExecutionResultStep
- Namespace
- GenerativeAI.Types
- Assembly
- GenerativeAI.dll
The result of a code execution (code_execution_result).
public sealed class InteractionCodeExecutionResultStep : InteractionResultStep
- Inheritance
-
InteractionCodeExecutionResultStep
- Inherited Members
- Extension Methods
Constructors
InteractionCodeExecutionResultStep()
Initializes a new instance of the InteractionCodeExecutionResultStep class.
public InteractionCodeExecutionResultStep()
Properties
IsError
Whether the code execution resulted in an error.
[JsonPropertyName("is_error")]
public bool? IsError { get; set; }
Property Value
- bool?
Result
The output of the code execution: a string or an array of content blocks.
[JsonPropertyName("result")]
public JsonNode? Result { get; set; }
Property Value
Signature
A signature hash for backend validation (base64).
[JsonPropertyName("signature")]
public string? Signature { get; set; }