UNPKG

@mastra/core

Version:

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

34 lines 1.06 kB
/** * Create a durable LLM mapping step. * * This step: * 1. Takes the LLM execution output and tool call results * 2. Updates the message list with tool results * 3. Combines everything into the final iteration output * * This is the "merge" step that combines parallel tool call results * back into a single coherent state. */ export declare function createDurableLLMMappingStep(): import("../../../../workflows").Step<"durable-llm-mapping", unknown, { llmOutput: any; toolResults: any[]; runId: string; agentId: string; messageId: string; state: any; }, { messageListState: any; messageId: string; stepResult: any; toolResults: any[]; output: { usage: any; steps: any[]; text?: string | undefined; toolCalls?: any[] | undefined; }; state: any; processorRetryCount?: number | undefined; processorRetryFeedback?: string | undefined; }, unknown, unknown, import("../../../../workflows").DefaultEngineType, unknown>; //# sourceMappingURL=llm-mapping.d.ts.map