Class: OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall
- Defined in:
- lib/openai/models/beta/beta_response_input_item.rb
Defined Under Namespace
Modules: Action Classes: Agent
Instance Attribute Summary collapse
-
#action ⇒ Symbol, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall::Action
The multi-agent action that was executed.
-
#agent ⇒ OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall::Agent?
The agent that produced this item.
-
#arguments ⇒ String
The action arguments as a JSON string.
-
#call_id ⇒ String
The unique ID linking this call to its output.
-
#id ⇒ String?
The unique ID of this multi-agent call.
-
#type ⇒ Symbol, :multi_agent_call
The item type.
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(action:, arguments:, call_id:, id: nil, agent: nil, type: :multi_agent_call) ⇒ Object constructor
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(action:, arguments:, call_id:, id: nil, agent: nil, type: :multi_agent_call) ⇒ Object
|
|
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 679
|
Instance Attribute Details
#action ⇒ Symbol, OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall::Action
The multi-agent action that was executed.
647 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 647 required :action, enum: -> { OpenAI::Beta::BetaResponseInputItem::MultiAgentCall::Action } |
#agent ⇒ OpenAI::Models::Beta::BetaResponseInputItem::MultiAgentCall::Agent?
The agent that produced this item.
677 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 677 optional :agent, -> { OpenAI::Beta::BetaResponseInputItem::MultiAgentCall::Agent }, nil?: true |
#arguments ⇒ String
The action arguments as a JSON string.
653 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 653 required :arguments, String |
#call_id ⇒ String
The unique ID linking this call to its output.
659 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 659 required :call_id, String |
#id ⇒ String?
The unique ID of this multi-agent call.
671 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 671 optional :id, String, nil?: true |
#type ⇒ Symbol, :multi_agent_call
The item type. Always multi_agent_call.
665 |
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 665 required :type, const: :multi_agent_call |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/beta/beta_response_input_item.rb', line 705
|