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

beta_stop_reason.py — anthropic-sdk-python Source File

Architecture documentation for beta_stop_reason.py, a python file in the anthropic-sdk-python codebase. 1 imports, 3 dependents.

File python AnthropicClient 1 imports 3 dependents

Entity Profile

Dependency Diagram

graph LR
  8e392c44_353c_2801_bc9a_bb37fb428417["beta_stop_reason.py"]
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  8e392c44_353c_2801_bc9a_bb37fb428417 --> 37c05070_ca59_d596_7250_de9d1939227f
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd["__init__.py"]
  65f3d77c_c1b2_82e1_f9d7_1e7e05f3fdfd --> 8e392c44_353c_2801_bc9a_bb37fb428417
  20977b2a_1890_cfe8_7dca_f3846f5fda73["beta_message.py"]
  20977b2a_1890_cfe8_7dca_f3846f5fda73 --> 8e392c44_353c_2801_bc9a_bb37fb428417
  339f07e3_2bd0_16c7_42fe_8e14d08926ee["beta_raw_message_delta_event.py"]
  339f07e3_2bd0_16c7_42fe_8e14d08926ee --> 8e392c44_353c_2801_bc9a_bb37fb428417
  style 8e392c44_353c_2801_bc9a_bb37fb428417 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, TypeAlias

__all__ = ["BetaStopReason"]

BetaStopReason: TypeAlias = Literal[
    "end_turn",
    "max_tokens",
    "stop_sequence",
    "tool_use",
    "pause_turn",
    "compaction",
    "refusal",
    "model_context_window_exceeded",
]

Dependencies

  • typing_extensions

Frequently Asked Questions

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