Class: OpenAI::Models::Responses::ToolChoiceShell
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ToolChoiceShell
- Defined in:
- lib/openai/models/responses/tool_choice_shell.rb
Instance Attribute Summary collapse
-
#type ⇒ Symbol, :shell
The tool to call.
Instance Method Summary collapse
-
#initialize(type: :shell) ⇒ Object
constructor
Forces the model to call the shell tool when a tool call is required.
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(type: :shell) ⇒ Object
Forces the model to call the shell tool when a tool call is required.
|
|
# File 'lib/openai/models/responses/tool_choice_shell.rb', line 13
|
Instance Attribute Details
#type ⇒ Symbol, :shell
The tool to call. Always ‘shell`.
11 |
# File 'lib/openai/models/responses/tool_choice_shell.rb', line 11 required :type, const: :shell |