UNPKG

@mastra/core

Version:

Mastra is a framework for building AI-powered applications and agents with a modern TypeScript stack.

6 lines 618 B
import { ReadableStream } from 'node:stream/web'; import type { ToolSet } from '../../_types/@internal_ai-sdk-v5/dist/index.js'; import type { ChunkType } from '../../stream/types.js'; import type { LoopRun } from '../types.js'; export declare function workflowLoopStream<Tools extends ToolSet = ToolSet, OUTPUT = undefined>({ resumeContext, requireToolApproval, models, toolChoice, modelSettings, _internal, messageId, runId, messageList, startTimestamp, streamState, agentId, toolCallId, toolCallConcurrency, ...rest }: LoopRun<Tools, OUTPUT>): ReadableStream<ChunkType<OUTPUT>>; //# sourceMappingURL=stream.d.ts.map