UNPKG

@mastra/core

Version:

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

18 lines 948 B
import type { ToolSet } from '../../../_types/@internal_ai-sdk-v5/dist/index.js'; export type ToolCallForeachOptions = { concurrency: number; }; export declare function resolveConfiguredToolCallConcurrency(toolCallConcurrency: number | undefined): number; export declare function effectiveToolSetRequiresSequentialExecution({ requireToolApproval, tools, activeTools, }: { requireToolApproval?: boolean; tools?: ToolSet; activeTools?: readonly string[]; }): boolean; export declare function resolveToolCallConcurrency({ requireToolApproval, tools, activeTools, configuredConcurrency, }: { requireToolApproval?: boolean; tools?: ToolSet; activeTools?: readonly string[]; configuredConcurrency: number; }): number; export declare function updateToolCallForeachConcurrency(options: ToolCallForeachOptions, args: Parameters<typeof resolveToolCallConcurrency>[0]): void; //# sourceMappingURL=tool-call-concurrency.d.ts.map