Skip to content

OtherWarning

Namespace: Vercel.AI.Util

public sealed class OtherWarning : ModelWarning

A provider warning that is not one of the structured kinds.

Inheritance: object → ModelWarning

View source

public OtherWarning(string message)

Creates the warning.

Parameters

Name Type Description
message string

View source

public string Message { get; }

Warning text.

Value: string

View source

public override 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