ToolCallNotFoundForApprovalException
Namespace: Vercel.AI.GenerateText
public sealed class ToolCallNotFoundForApprovalException : AiSdkException, ISerializableAn approval request points at a tool call that is not in the history.
Inheritance: object → Exception → AiSdkException
Implements: ISerializable
Constructors
Section titled “Constructors”ToolCallNotFoundForApprovalException(string, string)
Section titled “ToolCallNotFoundForApprovalException(string, string)”public ToolCallNotFoundForApprovalException(string toolCallId, string approvalId)Creates the exception.
Parameters
| Name | Type | Description |
|---|---|---|
toolCallId |
string | |
approvalId |
string |
Properties
Section titled “Properties”ApprovalId
Section titled “ApprovalId”public string ApprovalId { get; }Approval id.
Value: string
ToolCallId
Section titled “ToolCallId”public string ToolCallId { get; }Missing tool call id.
Value: string
Apache-2.0 · Copyright 2023 Vercel, Inc. · unofficial community port, not an official Vercel product