Module: OpenAI::Models::Live::ResponsesDelegationUpdateConfig::ToolChoice
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/openai/models/live/responses_delegation_update_config.rb,
sig/openai/models/live/responses_delegation_update_config.rbs
Overview
Controls which tool the Responses backend uses when handling a task delegated by the Live model.
Defined Under Namespace
Modules: LiveToolChoiceEnum Classes: LiveFunctionToolChoiceParam, LiveMCPToolChoiceParam
Class Method Summary collapse
Instance Method Summary collapse
- #initialize(name:, type: :function) ⇒ Object
- #self?.variants ⇒ ::Array[OpenAI::Models::Live::ResponsesDelegationUpdateConfig::tool_choice]
Methods included from Internal::Type::Union
==, ===, coerce, derefed_variants, dump, hash, inspect, to_sorbet_type, variants, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, coerce_with_error, dump, #dump, #inspect, inspect, meta_info, new_coerce_state, type_info
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 253
|
Instance Method Details
#initialize(name:, type: :function) ⇒ Object
|
|
# File 'lib/openai/models/live/responses_delegation_update_config.rb', line 268
|
#self?.variants ⇒ ::Array[OpenAI::Models::Live::ResponsesDelegationUpdateConfig::tool_choice]
221 |
# File 'sig/openai/models/live/responses_delegation_update_config.rbs', line 221
def self?.variants: -> ::Array[OpenAI::Models::Live::ResponsesDelegationUpdateConfig::tool_choice]
|