ApprovalHistoryPart
Namespace: Vercel.AI.GenerateText
public abstract class ApprovalHistoryPartOne part of an approval history message.
Inheritance: object
Derived: ApprovalRequestPart, ApprovalResponsePart, ApprovalToolCallPart, ApprovalToolResultPart
Constructors
Section titled “Constructors”ApprovalHistoryPart(string)
Section titled “ApprovalHistoryPart(string)”protected ApprovalHistoryPart(string type)Creates a part.
Parameters
| Name | Type | Description |
|---|---|---|
type |
string |
Properties
Section titled “Properties”public string Type { get; }Part type.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product