Skip to content

BatchRequestWarning

Namespace: Vercel.AI.Operations

public sealed class BatchRequestWarning

A warning tied to a request.

Inheritance: object

View source

BatchRequestWarning(string?, OperationWarning)

Section titled “BatchRequestWarning(string?, OperationWarning)”
public BatchRequestWarning(string? requestId, OperationWarning warning)

Creates a warning.

Parameters

Name Type Description
requestId string
warning OperationWarning

View source

public string? RequestId { get; }

Request id.

Value: string

View source

public OperationWarning Warning { get; }

Warning.

Value: OperationWarning

View source

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