Skip to content

StreamStartStreamPart

Namespace: Vercel.AI.Provider

public sealed class StreamStartStreamPart : LanguageModelStreamPart

Marks the start of a stream and carries call warnings.

Inheritance: object → LanguageModelStreamPart

View source

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>

View source

public IReadOnlyList<CallWarning> Warnings { get; }

Warnings discovered while preparing the request.

Value: IReadOnlyList<CallWarning>

View source

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