@openai/agents-core
Version:
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.
7 lines (6 loc) • 507 B
TypeScript
import { ModelBehaviorError, UserError } from '../errors';
export declare const REDACTED_FINAL_OUTPUT_ERROR_MESSAGE = "Invalid output type: final assistant output did not match the expected schema.";
export declare function createRedactedFinalOutputError(): ModelBehaviorError;
export declare function processFinalOutputWithRedaction<T>(callback: () => T): T;
export declare function createRedactedErrorDetailsError(): UserError;
export declare function isDataRedactedError(error: unknown): error is Error;