StreamStartStreamPart
Namespace: Vercel.AI.Provider
public sealed class StreamStartStreamPart : LanguageModelStreamPartMarks the start of a stream and carries call warnings.
Inheritance: object → LanguageModelStreamPart
Constructors
Section titled “Constructors”StreamStartStreamPart(IReadOnlyList<CallWarning>?)
Section titled “StreamStartStreamPart(IReadOnlyList<CallWarning>?)”public StreamStartStreamPart(IReadOnlyList<CallWarning>? warnings)Creates a stream-start part.
Parameters
| Name | Type | Description |
|---|---|---|
warnings |
IReadOnlyList<CallWarning> |
Properties
Section titled “Properties”Warnings
Section titled “Warnings”public IReadOnlyList<CallWarning> Warnings { get; }Warnings discovered while preparing the request.
Value: IReadOnlyList<CallWarning>
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product