Class: ClaudeAgentSDK::CompactMetadata
- Defined in:
- lib/claude_agent_sdk/types.rb
Overview
Metadata about a compaction event
Instance Attribute Summary collapse
-
#custom_instructions ⇒ Object
Returns the value of attribute custom_instructions.
-
#post_tokens ⇒ Object
Returns the value of attribute post_tokens.
-
#pre_tokens ⇒ Object
Returns the value of attribute pre_tokens.
-
#preserved_segment ⇒ Object
Returns the value of attribute preserved_segment.
-
#trigger ⇒ Object
Returns the value of attribute trigger.
Method Summary
Methods inherited from Type
#[], #[]=, from_hash, #initialize, #to_h, wrap
Constructor Details
This class inherits a constructor from ClaudeAgentSDK::Type
Dynamic Method Handling
This class handles dynamic methods through the method_missing method in the class ClaudeAgentSDK::Type
Instance Attribute Details
#custom_instructions ⇒ Object
Returns the value of attribute custom_instructions.
255 256 257 |
# File 'lib/claude_agent_sdk/types.rb', line 255 def custom_instructions @custom_instructions end |
#post_tokens ⇒ Object
Returns the value of attribute post_tokens.
255 256 257 |
# File 'lib/claude_agent_sdk/types.rb', line 255 def post_tokens @post_tokens end |
#pre_tokens ⇒ Object
Returns the value of attribute pre_tokens.
255 256 257 |
# File 'lib/claude_agent_sdk/types.rb', line 255 def pre_tokens @pre_tokens end |
#preserved_segment ⇒ Object
Returns the value of attribute preserved_segment.
255 256 257 |
# File 'lib/claude_agent_sdk/types.rb', line 255 def preserved_segment @preserved_segment end |
#trigger ⇒ Object
Returns the value of attribute trigger.
255 256 257 |
# File 'lib/claude_agent_sdk/types.rb', line 255 def trigger @trigger end |