UNPKG

@openai/agents-core

Version:

The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.

14 lines (13 loc) • 594 B
import { UserError } from '../errors'; /** Internal configuration failure that must not become a manual approval. */ export declare class FunctionToolApprovalInputError extends UserError { constructor(); } /** * Copy plain data for approval or execution without exposing retained input. * Reject other schema outputs before approval; validation must not run again * merely to obtain a second, potentially different, approval value. * * Shared by SDK runners through the internal utilities entry point. */ export declare function getFunctionToolApprovalInput(value: unknown): unknown;