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

model_param.py — anthropic-sdk-python Source File

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

File python AnthropicClient 2 imports 4 dependents

Entity Profile

Dependency Diagram

graph LR
  0b785e51_9b26_ae4b_cf32_6b73997c2811["model_param.py"]
  89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875["typing"]
  0b785e51_9b26_ae4b_cf32_6b73997c2811 --> 89ddcdd7_3ae1_4c7b_41bb_9f1e25f16875
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  0b785e51_9b26_ae4b_cf32_6b73997c2811 --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> 0b785e51_9b26_ae4b_cf32_6b73997c2811
  71316ac3_9f59_4b57_be15_e422c1f1309b["completion_create_params.py"]
  71316ac3_9f59_4b57_be15_e422c1f1309b --> 0b785e51_9b26_ae4b_cf32_6b73997c2811
  11b723a4_f0a6_3747_c358_91ffd0f2c339["message_count_tokens_params.py"]
  11b723a4_f0a6_3747_c358_91ffd0f2c339 --> 0b785e51_9b26_ae4b_cf32_6b73997c2811
  323219cc_84cd_94e9_ae78_777a62f2a45c["message_create_params.py"]
  323219cc_84cd_94e9_ae78_777a62f2a45c --> 0b785e51_9b26_ae4b_cf32_6b73997c2811
  style 0b785e51_9b26_ae4b_cf32_6b73997c2811 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 Union
from typing_extensions import Literal, TypeAlias

__all__ = ["ModelParam"]

ModelParam: TypeAlias = Union[
    Literal[
        "claude-opus-4-6",
        "claude-opus-4-5-20251101",
        "claude-opus-4-5",
        "claude-3-7-sonnet-latest",
        "claude-3-7-sonnet-20250219",
        "claude-3-5-haiku-latest",
        "claude-3-5-haiku-20241022",
        "claude-haiku-4-5",
        "claude-haiku-4-5-20251001",
        "claude-sonnet-4-20250514",
        "claude-sonnet-4-0",
        "claude-4-sonnet-20250514",
        "claude-sonnet-4-5",
        "claude-sonnet-4-5-20250929",
        "claude-opus-4-0",
        "claude-opus-4-20250514",
        "claude-4-opus-20250514",
        "claude-opus-4-1-20250805",
        "claude-3-opus-latest",
        "claude-3-opus-20240229",
        "claude-3-haiku-20240307",
    ],
    str,
]

Dependencies

  • typing
  • typing_extensions

Frequently Asked Questions

What does model_param.py do?
model_param.py is a source file in the anthropic-sdk-python codebase, written in python. It belongs to the AnthropicClient domain.
What does model_param.py depend on?
model_param.py imports 2 module(s): typing, typing_extensions.
What files import model_param.py?
model_param.py is imported by 4 file(s): __init__.py, completion_create_params.py, message_count_tokens_params.py, message_create_params.py.
Where is model_param.py in the architecture?
model_param.py is located at src/anthropic/types/model_param.py (domain: AnthropicClient, directory: src/anthropic/types).

Analyze Your Own Codebase

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

Try Supermodel Free