Skip to content

ModelWarning

Namespace: Vercel.AI.Util

public abstract class ModelWarning

A warning returned by a model provider.

Inheritance: object

Derived: CompatibilityWarning, DeprecatedWarning, OtherWarning, UnsupportedWarning

View source

public abstract string Type { get; }

Warning kind: unsupported, compatibility, deprecated, or other.

Value: string

View source

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