Skip to content

AnthropicReasoningConfig

Namespace: Vercel.AI.Anthropic

public sealed class AnthropicReasoningConfig

Thinking and effort derived from a top-level reasoning level.

Inheritance: object

View source

AnthropicReasoningConfig(string?, int?, string?, string?)

Section titled “AnthropicReasoningConfig(string?, int?, string?, string?)”
public AnthropicReasoningConfig(string? thinkingType, int? budgetTokens, string? effort, string? display)

Creates a reasoning mapping.

Parameters

Name Type Description
thinkingType string
budgetTokens int?
effort string
display string

View source

public int? BudgetTokens { get; }

Budget for enabled thinking.

Value: int?

View source

public string? Display { get; }

Thinking display mode.

Value: string

View source

public string? Effort { get; }

Effort level, when adaptive thinking uses one.

Value: string

View source

public string? ThinkingType { get; }

enabled, adaptive, or disabled.

Value: string

View source

Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product