UNPKG

@openai/agents-core

Version:

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

10 lines (9 loc) 432 B
import { RunItem } from '../items'; import { StreamedRunResult } from '../result'; export declare const isAbortError: (error: unknown) => boolean; export declare function streamStepItemsToRunResult(result: StreamedRunResult<any, any>, items: RunItem[]): void; export declare function addStepToRunResult(result: StreamedRunResult<any, any>, step: { newStepItems: RunItem[]; }, options?: { skipItems?: Set<RunItem>; }): void;