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

thinking_config_enabled_param.py — anthropic-sdk-python Source File

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

File python AnthropicClient 1 imports 2 dependents 1 classes

Entity Profile

Dependency Diagram

graph LR
  af93de55_74e6_a588_4f06_0fff567d43e8["thinking_config_enabled_param.py"]
  37c05070_ca59_d596_7250_de9d1939227f["typing_extensions"]
  af93de55_74e6_a588_4f06_0fff567d43e8 --> 37c05070_ca59_d596_7250_de9d1939227f
  2eb1aa7f_c778_4d68_0a26_a102fadd9638["__init__.py"]
  2eb1aa7f_c778_4d68_0a26_a102fadd9638 --> af93de55_74e6_a588_4f06_0fff567d43e8
  821cd9e1_c9b7_aa68_181f_1b0002d949a2["thinking_config_param.py"]
  821cd9e1_c9b7_aa68_181f_1b0002d949a2 --> af93de55_74e6_a588_4f06_0fff567d43e8
  style af93de55_74e6_a588_4f06_0fff567d43e8 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_extensions import Literal, Required, TypedDict

__all__ = ["ThinkingConfigEnabledParam"]


class ThinkingConfigEnabledParam(TypedDict, total=False):
    budget_tokens: Required[int]
    """Determines how many tokens Claude can use for its internal reasoning process.

    Larger budgets can enable more thorough analysis for complex problems, improving
    response quality.

    Must be ≥1024 and less than `max_tokens`.

    See
    [extended thinking](https://docs.claude.com/en/docs/build-with-claude/extended-thinking)
    for details.
    """

    type: Required[Literal["enabled"]]

Dependencies

  • typing_extensions

Frequently Asked Questions

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