beta_compact_20260112_edit_param.py — anthropic-sdk-python Source File
Architecture documentation for beta_compact_20260112_edit_param.py, a python file in the anthropic-sdk-python codebase. 4 imports, 2 dependents.
Entity Profile
Dependency Diagram
graph LR 752fb820_b57b_99e7_f85f_469a98bdc698["beta_compact_20260112_edit_param.py"] fd43713e_acc4_d0e9_9b4c_7c83dedca866["beta_input_tokens_trigger_param.py"] 752fb820_b57b_99e7_f85f_469a98bdc698 --> fd43713e_acc4_d0e9_9b4c_7c83dedca866 b893d6ef_1f69_8414_997b_f5db7d55f1ab["BetaInputTokensTriggerParam"] 752fb820_b57b_99e7_f85f_469a98bdc698 --> b893d6ef_1f69_8414_997b_f5db7d55f1ab 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"] 752fb820_b57b_99e7_f85f_469a98bdc698 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875 37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"] 752fb820_b57b_99e7_f85f_469a98bdc698 --> 37c05070_ca59_d596_7250_de9d1939227f 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"] 65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> 752fb820_b57b_99e7_f85f_469a98bdc698 9df3ccf2_a923_0446_05fe_8e124a743135["beta_context_management_config_param.py"] 9df3ccf2_a923_0446_05fe_8e124a743135 --> 752fb820_b57b_99e7_f85f_469a98bdc698 style 752fb820_b57b_99e7_f85f_469a98bdc698 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
from __future__ import annotations
from typing import Optional
from typing_extensions import Literal, Required, TypedDict
from .beta_input_tokens_trigger_param import BetaInputTokensTriggerParam
__all__ = ["BetaCompact20260112EditParam"]
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."""
Domain
Classes
Dependencies
- BetaInputTokensTriggerParam
- beta_input_tokens_trigger_param.py
- typing
- typing_extensions
Imported By
Source
Frequently Asked Questions
What does beta_compact_20260112_edit_param.py do?
beta_compact_20260112_edit_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_compact_20260112_edit_param.py depend on?
beta_compact_20260112_edit_param.py imports 4 module(s): BetaInputTokensTriggerParam, beta_input_tokens_trigger_param.py, typing, typing_extensions.
What files import beta_compact_20260112_edit_param.py?
beta_compact_20260112_edit_param.py is imported by 2 file(s): __init__.py, beta_context_management_config_param.py.
Where is beta_compact_20260112_edit_param.py in the architecture?
beta_compact_20260112_edit_param.py is located at src/anthropic/types/beta/beta_compact_20260112_edit_param.py (domain: AnthropicClient, directory: src/anthropic/types/beta).
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free