UNPKG

@openai/agents-core

Version:

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

5 lines (4 loc) • 319 B
import { Trace } from '../../tracing'; import type { Span } from '../../tracing'; import type { CustomSpanData } from '../../tracing/spans'; export declare function withSandboxSpan<T>(name: string, data: Record<string, unknown>, fn: (span?: Span<CustomSpanData>) => Promise<T>, parent?: Span<any> | Trace): Promise<T>;