Home / File/ beta_clear_thinking_20251015_edit_response.py — anthropic-sdk-python Source File

beta_clear_thinking_20251015_edit_response.py — anthropic-sdk-python Source File

Architecture documentation for beta_clear_thinking_20251015_edit_response.py, a python file in the anthropic-sdk-python codebase. 2 imports, 2 dependents.

File python AnthropicClient 2 imports 2 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  485e3441_883a_587d_0250_9ecac34e4a0a["beta_clear_thinking_20251015_edit_response.py"]
  c14e2467_291d_6c7c_2b25_9a24e81f8565["_models"]
  485e3441_883a_587d_0250_9ecac34e4a0a --> c14e2467_291d_6c7c_2b25_9a24e81f8565
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  485e3441_883a_587d_0250_9ecac34e4a0a --> 37c05070_ca59_d596_7250_de9d1939227f
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"]
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> 485e3441_883a_587d_0250_9ecac34e4a0a
  8e1097b4_ba7a_e261_a11e_6ec41bfd39d6["beta_context_management_response.py"]
  8e1097b4_ba7a_e261_a11e_6ec41bfd39d6 --> 485e3441_883a_587d_0250_9ecac34e4a0a
  style 485e3441_883a_587d_0250_9ecac34e4a0a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from typing_extensions import Literal

from ..._models import BaseModel

__all__ = ["BetaClearThinking20251015EditResponse"]


class BetaClearThinking20251015EditResponse(BaseModel):
    cleared_input_tokens: int
    """Number of input tokens cleared by this edit."""

    cleared_thinking_turns: int
    """Number of thinking turns that were cleared."""

    type: Literal["clear_thinking_20251015"]
    """The type of context management edit applied."""

Dependencies

  • _models
  • typing_extensions

Frequently Asked Questions

What does beta_clear_thinking_20251015_edit_response.py do?
beta_clear_thinking_20251015_edit_response.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does beta_clear_thinking_20251015_edit_response.py depend on?
beta_clear_thinking_20251015_edit_response.py imports 2 module(s): _models, typing_extensions.
What files import beta_clear_thinking_20251015_edit_response.py?
beta_clear_thinking_20251015_edit_response.py is imported by 2 file(s): __init__.py, beta_context_management_response.py.
Where is beta_clear_thinking_20251015_edit_response.py in the architecture?
beta_clear_thinking_20251015_edit_response.py is located at src/anthropic/types/beta/beta_clear_thinking_20251015_edit_response.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