ProviderValues.BatchRequestCounts
Namespace: Vercel.AI.ProviderUtils
public sealed class ProviderValues.BatchRequestCountsComplete batch request counts.
Inheritance: object
Constructors
Section titled “Constructors”BatchRequestCounts(long, long, long, long)
Section titled “BatchRequestCounts(long, long, long, long)”public BatchRequestCounts(long total, long pending, long completed, long failed)Creates counts.
Parameters
| Name | Type | Description |
|---|---|---|
total |
long | |
pending |
long | |
completed |
long | |
failed |
long |
Properties
Section titled “Properties”Completed
Section titled “Completed”public long Completed { get; }Completed requests.
Value: long
Failed
Section titled “Failed”public long Failed { get; }Failed requests.
Value: long
Pending
Section titled “Pending”public long Pending { get; }Requests still pending.
Value: long
public long Total { get; }Total requests.
Value: long
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product