AnthropicWarning
Namespace: Vercel.AI.Anthropic
public sealed class AnthropicWarningA warning produced while preparing an Anthropic request.
Inheritance: object
Constructors
Section titled “Constructors”AnthropicWarning(string, string?, string?, string?)
Section titled “AnthropicWarning(string, string?, string?, string?)”public AnthropicWarning(string type, string? feature = null, string? details = null, string? message = null)Creates a warning.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string | |
feature |
string | |
details |
string | |
message |
string |
Properties
Section titled “Properties”Details
Section titled “Details”public string? Details { get; }Extra detail.
Value: string
Feature
Section titled “Feature”public string? Feature { get; }Feature the warning refers to.
Value: string
Message
Section titled “Message”public string? Message { get; }Free-form message used by other warnings.
Value: string
public string Type { get; }Warning category, such as unsupported or compatibility.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product