Skip to content

ApprovalHistoryPart

Namespace: Vercel.AI.GenerateText

public abstract class ApprovalHistoryPart

One part of an approval history message.

Inheritance: object

Derived: ApprovalRequestPart, ApprovalResponsePart, ApprovalToolCallPart, ApprovalToolResultPart

View source

protected ApprovalHistoryPart(string type)

Creates a part.

Parameters

Name Type Description
type string

View source

public string Type { get; }

Part type.

Value: string

View source

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