@openai/agents-openai
Version:
The OpenAI Agents SDK is a lightweight yet powerful framework for building multi-agent workflows.
5 lines (4 loc) • 338 B
TypeScript
import type { Stream } from 'openai/streaming';
import { protocol } from '@openai/agents-core';
import { ChatCompletion, ChatCompletionChunk } from 'openai/resources/chat';
export declare function convertChatCompletionsStreamToResponses(response: ChatCompletion, stream: Stream<ChatCompletionChunk>): AsyncIterable<protocol.StreamEvent>;