class

OpenAI::RunStepDeltaStepDetailsToolCallsCodeObject

Inherits JSON::Serializable < Reference < Object

Details of the Code Interpreter tool call the run step was involved in.

Constructors

new(index : Int64 = 0, id : String | Nil = nil, type_value : RunStepDeltaStepDetailsToolCallsCodeObjectType = RunStepDeltaStepDetailsToolCallsCodeObjectType::CodeInterpreter, code_interpreter : RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter | Nil = nil)
Source
new(*, __pull_for_json_serializable pull : JSON::PullParser)
Source

Instance methods

code_interpreter

The Code Interpreter tool call definition.

Source
code_interpreter=(code_interpreter : RunStepDeltaStepDetailsToolCallsCodeObjectCodeInterpreter | Nil)

The Code Interpreter tool call definition.

Source
id

The ID of the tool call.

Source
id=(id : String | Nil)

The ID of the tool call.

Source
index

The index of the tool call in the tool calls array.

Source
index=(index : Int64)

The index of the tool call in the tool calls array.

Source
type_value

The type of tool call. This is always going to be code_interpreter for this type of tool call.

Source
type_value=(type_value : RunStepDeltaStepDetailsToolCallsCodeObjectType)

The type of tool call. This is always going to be code_interpreter for this type of tool call.

Source