Class: Anthropic::Models::Beta::BetaCompact20260112Edit
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaCompact20260112Edit
- Defined in:
- lib/anthropic/models/beta/beta_compact_20260112_edit.rb
Instance Attribute Summary collapse
-
#instructions ⇒ String?
Additional instructions for summarization.
-
#pause_after_compaction ⇒ Boolean?
Whether to pause after compaction and return the compaction block to the user.
-
#trigger ⇒ Anthropic::Models::Beta::BetaInputTokensTrigger?
When to trigger compaction.
- #type ⇒ Symbol, :compact_20260112
Method Summary
Methods inherited from Internal::Type::BaseModel
#==, ==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, #initialize, 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
This class inherits a constructor from Anthropic::Internal::Type::BaseModel
Instance Attribute Details
#instructions ⇒ String?
Additional instructions for summarization.
16 |
# File 'lib/anthropic/models/beta/beta_compact_20260112_edit.rb', line 16 optional :instructions, String, nil?: true |
#pause_after_compaction ⇒ Boolean?
Whether to pause after compaction and return the compaction block to the user.
22 |
# File 'lib/anthropic/models/beta/beta_compact_20260112_edit.rb', line 22 optional :pause_after_compaction, Anthropic::Internal::Type::Boolean |
#trigger ⇒ Anthropic::Models::Beta::BetaInputTokensTrigger?
When to trigger compaction. Defaults to 150000 input tokens.
28 |
# File 'lib/anthropic/models/beta/beta_compact_20260112_edit.rb', line 28 optional :trigger, -> { Anthropic::Beta::BetaInputTokensTrigger }, nil?: true |
#type ⇒ Symbol, :compact_20260112
10 |
# File 'lib/anthropic/models/beta/beta_compact_20260112_edit.rb', line 10 required :type, const: :compact_20260112 |