Module: Anthropic::Models::Beta::BetaContextManagementConfig::Edit
- Extended by:
- Internal::Type::Union
- Defined in:
- lib/anthropic/models/beta/beta_context_management_config.rb
Instance Method Summary collapse
Methods included from Internal::Type::Union
==, ===, coerce, dump, hash, inspect, to_sorbet_type, variants
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Instance Method Details
#initialize(edits: nil) ⇒ void
17 18 19 20 21 22 23 24 25 26 27 28 |
# File 'lib/anthropic/models/beta/beta_context_management_config.rb', line 17 module Edit extend Anthropic::Internal::Type::Union discriminator :type variant :clear_tool_uses_20250919, -> { Anthropic::Beta::BetaClearToolUses20250919Edit } variant :clear_thinking_20251015, -> { Anthropic::Beta::BetaClearThinking20251015Edit } # @!method self.variants # @return [Array(Anthropic::Models::Beta::BetaClearToolUses20250919Edit, Anthropic::Models::Beta::BetaClearThinking20251015Edit)] end |