Class: Anthropic::Models::ContextManagementCapability
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::ContextManagementCapability
- Defined in:
- lib/anthropic/models/context_management_capability.rb
Instance Attribute Summary collapse
-
#clear_thinking_20251015 ⇒ Anthropic::Models::CapabilitySupport?
Indicates whether a capability is supported.
-
#clear_tool_uses_20250919 ⇒ Anthropic::Models::CapabilitySupport?
Indicates whether a capability is supported.
-
#compact_20260112 ⇒ Anthropic::Models::CapabilitySupport?
Indicates whether a capability is supported.
-
#supported ⇒ Boolean
Whether this capability is supported by the model.
Instance Method Summary collapse
-
#initialize(clear_thinking_20251015:, clear_tool_uses_20250919:, compact_20260112:, supported:) ⇒ void
constructor
Context management capability details.
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(clear_thinking_20251015:, clear_tool_uses_20250919:, compact_20260112:, supported:) ⇒ void
Context management capability details.
|
|
# File 'lib/anthropic/models/context_management_capability.rb', line 30
|
Instance Attribute Details
#clear_thinking_20251015 ⇒ Anthropic::Models::CapabilitySupport?
Indicates whether a capability is supported.
10 |
# File 'lib/anthropic/models/context_management_capability.rb', line 10 required :clear_thinking_20251015, -> { Anthropic::CapabilitySupport }, nil?: true |
#clear_tool_uses_20250919 ⇒ Anthropic::Models::CapabilitySupport?
Indicates whether a capability is supported.
16 |
# File 'lib/anthropic/models/context_management_capability.rb', line 16 required :clear_tool_uses_20250919, -> { Anthropic::CapabilitySupport }, nil?: true |
#compact_20260112 ⇒ Anthropic::Models::CapabilitySupport?
Indicates whether a capability is supported.
22 |
# File 'lib/anthropic/models/context_management_capability.rb', line 22 required :compact_20260112, -> { Anthropic::CapabilitySupport }, nil?: true |