Anthropic::ContextManagementConfig
Inherits JSON::Serializable < Struct < Value < Object
Context management configuration for beta messages
config = Anthropic::ContextManagementConfig.auto_compact
Constructors
auto_compact(instructions : String | Nil = nil, trigger : String | Nil = nil, pause_after_compaction : Bool | Nil = nil) : self
Create a config with auto-compaction using default threshold
new(pull : JSON::PullParser)
Sourcenew(*, __pull_for_json_serializable pull : JSON::PullParser)
SourceInstance methods
edits
Source