UNPKG

@openai/agents-core

Version:

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

12 lines 293 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.safeExecute = safeExecute; async function safeExecute(fn) { try { return [null, await fn()]; } catch (error) { return [error, null]; } } //# sourceMappingURL=safeExecute.js.map