LogWarningsOptions
Namespace: Vercel.AI.Util
public sealed class LogWarningsOptionsArguments passed to Log(LogWarningsOptions).
Inheritance: object
Constructors
Section titled “Constructors”LogWarningsOptions(IReadOnlyList<ModelWarning>?, string?, string?)
Section titled “LogWarningsOptions(IReadOnlyList<ModelWarning>?, string?, string?)”public LogWarningsOptions(IReadOnlyList<ModelWarning>? warnings, string? provider = null, string? model = null)Creates the options.
Parameters
| Name | Type | Description |
|---|---|---|
warnings |
IReadOnlyList<ModelWarning> | |
provider |
string | |
model |
string |
Properties
Section titled “Properties”public string? Model { get; }Model id, when the call was scoped to one.
Value: string
Provider
Section titled “Provider”public string? Provider { get; }Provider id, when the call was scoped to one.
Value: string
Warnings
Section titled “Warnings”public IReadOnlyList<ModelWarning> Warnings { get; }Warnings returned by the provider.
Value: IReadOnlyList<ModelWarning>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product