Class CodeInterpreterOutput
A tool call to run code.
Inherited Members
Namespace: Glitch9.AIDevKit
Assembly: Glitch9.AIDevKit.dll
Syntax
public class CodeInterpreterOutput : ToolOutput, IPrompt, IValidatable, IHasId<string>
Constructors
| Edit this page View SourceCodeInterpreterOutput()
Declaration
public CodeInterpreterOutput()
Properties
| Edit this page View SourceCode
Required. The code to run, or null if not available.
Declaration
[JsonProperty("code")]
public string Code { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContainerId
Required. The ID of the container used to run the code.
Declaration
[JsonProperty("container_id")]
public string ContainerId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Outputs
Required. The outputs generated by the code interpreter, such as logs or images. Can be null if no outputs are available.
Declaration
[JsonProperty("outputs")]
public List<CodeInterpreterResult> Outputs { get; set; }
Property Value
| Type | Description |
|---|---|
| List<CodeInterpreterResult> |