Class: OpenAI::Models::Beta::BetaResponsesServerEvent::BetaResponseShellCallOutputContentWsDone
- Inherits:
-
OpenAI::Models::Beta::BetaResponseShellCallOutputContentDoneEvent
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::BetaResponseShellCallOutputContentDoneEvent
- OpenAI::Models::Beta::BetaResponsesServerEvent::BetaResponseShellCallOutputContentWsDone
- Defined in:
- lib/openai/models/beta/beta_responses_server_event.rb,
sig/openai/models/beta/beta_responses_server_event.rbs
Instance Attribute Summary collapse
-
#stream_id ⇒ String?
The WebSocket lane that emitted this event.
Attributes inherited from OpenAI::Models::Beta::BetaResponseShellCallOutputContentDoneEvent
#agent, #command_index, #item_id, #output, #output_index, #sequence_number, #type
Attributes inherited from Internal::Type::BaseModel
Instance Method Summary collapse
-
#initialize ⇒ BetaResponseShellCallOutputContentWsDone
constructor
A new instance of BetaResponseShellCallOutputContentWsDone.
- #to_hash ⇒ { command_index: Integer, item_id: String, output: ::Array[OpenAI::Beta::BetaResponseShellCallOutputContentDoneEvent::Output], output_index: Integer, sequence_number: Integer, ?type: :"response.shell_call_output_content.done", ?agent: OpenAI::Beta::BetaResponseShellCallOutputContentDoneEvent::Agent, ?stream_id: String }
Methods inherited from OpenAI::Models::Beta::BetaResponseShellCallOutputContentDoneEvent
Methods inherited from Internal::Type::BaseModel
==, #==, #[], #_request_id, #_set_last_response, coerce, #deconstruct_keys, #deep_to_h, dump, #encode_with, fields, hash, #hash, inherited, #inspect, inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_cached, coerce_with_error, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, resolve_type, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize ⇒ BetaResponseShellCallOutputContentWsDone
Returns a new instance of BetaResponseShellCallOutputContentWsDone.
1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 |
# File 'sig/openai/models/beta/beta_responses_server_event.rbs', line 1318
def initialize: (
command_index: Integer,
item_id: String,
output: ::Array[OpenAI::Beta::BetaResponseShellCallOutputContentDoneEvent::Output],
output_index: Integer,
sequence_number: Integer,
?agent: OpenAI::Beta::BetaResponseShellCallOutputContentDoneEvent::Agent,
?stream_id: String,
?type: :"response.shell_call_output_content.done"
) -> void
|
Instance Attribute Details
#stream_id ⇒ String?
The WebSocket lane that emitted this event. This field is present when the
originating response.create event supplied a stream_id.
1130 |
# File 'lib/openai/models/beta/beta_responses_server_event.rb', line 1130 optional :stream_id, String |
Instance Method Details
#to_hash ⇒ { command_index: Integer, item_id: String, output: ::Array[OpenAI::Beta::BetaResponseShellCallOutputContentDoneEvent::Output], output_index: Integer, sequence_number: Integer, ?type: :"response.shell_call_output_content.done", ?agent: OpenAI::Beta::BetaResponseShellCallOutputContentDoneEvent::Agent, ?stream_id: String }
1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 |
# File 'sig/openai/models/beta/beta_responses_server_event.rbs', line 1329
def to_hash: -> {
command_index: Integer,
item_id: String,
output: ::Array[OpenAI::Beta::BetaResponseShellCallOutputContentDoneEvent::Output],
output_index: Integer,
sequence_number: Integer,
?type: :"response.shell_call_output_content.done",
?agent: OpenAI::Beta::BetaResponseShellCallOutputContentDoneEvent::Agent,
?stream_id: String
}
|