UNPKG

@mastra/core

Version:

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

5 lines 572 B
import type { ToolSet } from '../_types/@internal_ai-sdk-v5/dist/index.js'; import { MastraModelOutput } from '../stream/base/output.js'; import type { LoopOptions } from './types.js'; export declare function loop<Tools extends ToolSet = ToolSet, OUTPUT = undefined>({ resumeContext, models, logger, runId, idGenerator, messageList, includeRawChunks, modelSettings, tools, _internal, outputProcessors, returnScorerData, requireToolApproval, agentId, toolCallConcurrency, ...rest }: LoopOptions<Tools, OUTPUT>): MastraModelOutput<OUTPUT>; //# sourceMappingURL=loop.d.ts.map