Class: Anthropic::Models::Beta::BetaContextManagementResponse
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Anthropic::Models::Beta::BetaContextManagementResponse
- Defined in:
- lib/anthropic/models/beta/beta_context_management_response.rb,
sig/anthropic/models/beta/beta_context_management_response.rbs
Defined Under Namespace
Modules: AppliedEdit
Instance Attribute Summary collapse
-
#applied_edits ⇒ Array<Anthropic::Models::Beta::BetaClearToolUses20250919EditResponse, Anthropic::Models::Beta::BetaClearThinking20251015EditResponse>
List of context management edits that were applied.
Instance Method Summary collapse
- #initialize ⇒ void constructor
- #to_hash ⇒ {
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 ⇒ void
14 |
# File 'sig/anthropic/models/beta/beta_context_management_response.rbs', line 14 def initialize: ( |
Instance Attribute Details
#applied_edits ⇒ Array<Anthropic::Models::Beta::BetaClearToolUses20250919EditResponse, Anthropic::Models::Beta::BetaClearThinking20251015EditResponse>
List of context management edits that were applied.
11 12 |
# File 'lib/anthropic/models/beta/beta_context_management_response.rb', line 11 required :applied_edits, -> { Anthropic::Internal::Type::ArrayOf[union: Anthropic::Beta::BetaContextManagementResponse::AppliedEdit] } |
Instance Method Details
#to_hash ⇒ {
18 |
# File 'sig/anthropic/models/beta/beta_context_management_response.rbs', line 18 def to_hash: -> { |