Home / Class/ BetaCompact20260112EditParam Class — anthropic-sdk-python Architecture

BetaCompact20260112EditParam Class — anthropic-sdk-python Architecture

Architecture documentation for the BetaCompact20260112EditParam class in beta_compact_20260112_edit_param.py from the anthropic-sdk-python codebase.

Entity Profile

Dependency Diagram

graph TD
  be418495_2b24_0f21_d919_b5e73ff3bbfe["BetaCompact20260112EditParam"]
  752fb820_b57b_99e7_f85f_469a98bdc698["beta_compact_20260112_edit_param.py"]
  be418495_2b24_0f21_d919_b5e73ff3bbfe -->|defined in| 752fb820_b57b_99e7_f85f_469a98bdc698

Relationship Graph

Source Code

src/anthropic/types/beta/beta_compact_20260112_edit_param.py lines 13–27

class BetaCompact20260112EditParam(TypedDict, total=False):
    """
    Automatically compact older context when reaching the configured trigger threshold.
    """

    type: Required[Literal["compact_20260112"]]

    instructions: Optional[str]
    """Additional instructions for summarization."""

    pause_after_compaction: bool
    """Whether to pause after compaction and return the compaction block to the user."""

    trigger: Optional[BetaInputTokensTriggerParam]
    """When to trigger compaction. Defaults to 150000 input tokens."""

Frequently Asked Questions

What is the BetaCompact20260112EditParam class?
BetaCompact20260112EditParam is a class in the anthropic-sdk-python codebase, defined in src/anthropic/types/beta/beta_compact_20260112_edit_param.py.
Where is BetaCompact20260112EditParam defined?
BetaCompact20260112EditParam is defined in src/anthropic/types/beta/beta_compact_20260112_edit_param.py at line 13.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free