class

OpenAI::RunStepDetailsToolCallsCodeObject

Inherits JSON::Serializable < Reference < Object

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

Constructors

new(id : String = "", type_value : RunStepDetailsToolCallsCodeObjectType = RunStepDetailsToolCallsCodeObjectType::CodeInterpreter, code_interpreter : RunStepDetailsToolCallsCodeObjectCodeInterpreter = RunStepDetailsToolCallsCodeObjectCodeInterpreter.new)
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 : RunStepDetailsToolCallsCodeObjectCodeInterpreter)

The Code Interpreter tool call definition.

Source
id

The ID of the tool call.

Source
id=(id : String)

The ID of the tool call.

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 : RunStepDetailsToolCallsCodeObjectType)

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

Source