AnthropicModelSettings
Namespace: Vercel.AI.Anthropic
public sealed class AnthropicModelSettingsOptional settings that let a Messages-compatible provider adjust the shared Anthropic adapter.
Inheritance: object
Properties
Section titled “Properties”CacheControlProviderOptionsName
Section titled “CacheControlProviderOptionsName”public string? CacheControlProviderOptionsName { get; init; }Provider-options namespace read for cache control before anthropic. Defaults to anthropic.
Value: string
ConvertMediaPart
Section titled “ConvertMediaPart”public AnthropicMediaPartConverter? ConvertMediaPart { get; init; }Custom media conversion. <a href=“https://learn.microsoft.com/dotnet/csharp/language-reference/keywords/null">null</a> uses the default.
Value: AnthropicMediaPartConverter
MaxTemperature
Section titled “MaxTemperature”public double? MaxTemperature { get; init; }Maximum temperature. Defaults to 1.
Value: double?
SupportsTemperatureAndTopPWithThinking
Section titled “SupportsTemperatureAndTopPWithThinking”public bool SupportsTemperatureAndTopPWithThinking { get; init; }Keeps temperature and topP when thinking is on.
Value: bool
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product