Class: OpenAI::Models::Responses::ResponsesServerEvent::ResponseCustomToolCallInputWsDone

Inherits:
OpenAI::Models::Responses::ResponseCustomToolCallInputDoneEvent show all
Defined in:
lib/openai/models/responses/responses_server_event.rb,
sig/openai/models/responses/responses_server_event.rbs

Instance Attribute Summary collapse

Attributes inherited from OpenAI::Models::Responses::ResponseCustomToolCallInputDoneEvent

#input, #item_id, #output_index, #sequence_number, #type

Attributes inherited from Internal::Type::BaseModel

#last_response

Instance Method Summary collapse

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, #dump, dump, #inspect, inspect, meta_info, new_coerce_state, 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(stream_id: nil) ⇒ Object

Some parameter documentations has been truncated, see OpenAI::Models::Responses::ResponsesServerEvent::ResponseCustomToolCallInputWsDone for more details.

Event indicating that input for a custom tool call is complete.

Parameters:

  • stream_id (String) (defaults to: nil)

    The WebSocket lane that emitted this event. This field is present



# File 'lib/openai/models/responses/responses_server_event.rb', line 1159

Instance Attribute Details

#stream_idString?

The WebSocket lane that emitted this event. This field is present when the originating response.create event supplied a stream_id.

Parameters:

  • _ (String)

Returns:

  • (String, nil)


1157
# File 'lib/openai/models/responses/responses_server_event.rb', line 1157

optional :stream_id, String

Instance Method Details

#to_hash{

Returns:

  • ({)


1785
# File 'sig/openai/models/responses/responses_server_event.rbs', line 1785

def to_hash: -> {