Class: OpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCall

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/openai/models/beta/beta_response_output_item.rb

Defined Under Namespace

Modules: Action Classes: Agent

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, 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(id:, action:, arguments:, call_id:, agent: nil, type: :multi_agent_call) ⇒ Object

Parameters:



# File 'lib/openai/models/beta/beta_response_output_item.rb', line 416

Instance Attribute Details

#actionSymbol, OpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCall::Action

The multi-agent action to execute.



390
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 390

required :action, enum: -> { OpenAI::Beta::BetaResponseOutputItem::MultiAgentCall::Action }

#agentOpenAI::Models::Beta::BetaResponseOutputItem::MultiAgentCall::Agent?

The agent that produced this item.



414
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 414

optional :agent, -> { OpenAI::Beta::BetaResponseOutputItem::MultiAgentCall::Agent }

#argumentsString

The JSON string of arguments generated for the action.

Returns:

  • (String)


396
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 396

required :arguments, String

#call_idString

The unique ID linking this call to its output.

Returns:

  • (String)


402
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 402

required :call_id, String

#idString

The unique ID of the multi-agent call item.

Returns:

  • (String)


384
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 384

required :id, String

#typeSymbol, :multi_agent_call

The type of the multi-agent call. Always multi_agent_call.

Returns:

  • (Symbol, :multi_agent_call)


408
# File 'lib/openai/models/beta/beta_response_output_item.rb', line 408

required :type, const: :multi_agent_call

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/openai/models/beta/beta_response_output_item.rb', line 442