import type { AvailableModel } from '../../execution/AvailableModel'; import type { CommonToolsOptions } from '../../execution/CommonToolsOptions'; import type { LlmExecutionTools } from '../../execution/LlmExecutionTools'; import type { VercelProvider } from './VercelProvider'; /** * Options for `createExecutionToolsFromVercelProvider` * * @public exported from `@promptbook/google` */ export type VercelExecutionToolsOptions = CommonToolsOptions & Pick & { /** * Vercel provider for the execution tools */ readonly vercelProvider: VercelProvider; /** * List of available models for given Vercel provider */ readonly availableModels: ReadonlyArray; /** * Additional settings for chat models, for example `temperature` or `providerOptions` * * Note: Since Vercel AI SDK v5 these settings belong to the model call, not to * `vercelProvider.chat('model-name')` which takes just the model name */ readonly additionalChatSettings?: Partial['doGenerate']>[0], 'prompt'>>; };