UNPKG

@openai/agents-core

Version:

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

3 lines (2 loc) 155 B
export type SafeExecuteResult<T> = [Error | unknown | null, T | null]; export declare function safeExecute<T>(fn: () => T): Promise<SafeExecuteResult<T>>;