Class: OpenAI::Models::Responses::ApplyPatchTool
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- OpenAI::Models::Responses::ApplyPatchTool
- Defined in:
- lib/openai/models/responses/apply_patch_tool.rb
Instance Attribute Summary collapse
-
#type ⇒ Symbol, :apply_patch
The type of the tool.
Instance Method Summary collapse
-
#initialize(type: :apply_patch) ⇒ Object
constructor
Allows the assistant to create, delete, or update files using unified diffs.
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: :apply_patch) ⇒ Object
Allows the assistant to create, delete, or update files using unified diffs.
|
|
# File 'lib/openai/models/responses/apply_patch_tool.rb', line 13
|
Instance Attribute Details
#type ⇒ Symbol, :apply_patch
The type of the tool. Always ‘apply_patch`.
11 |
# File 'lib/openai/models/responses/apply_patch_tool.rb', line 11 required :type, const: :apply_patch |