AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents
TypeScript ai-agentai-agent-toolsai-agentsai-agents-frameworkmcpmcp-servermcp-toolsmcpsn8n-alternativeno-code-automationworkflowworkflow-automationworkflows
import { AIProviderAuthConfig, AIProviderConfig, AIProviderModel } from '@activepieces/shared'
import { FastifyBaseLogger } from 'fastify'
export const MODEL_LIST_TIMEOUT_MS = 15_000
export type AIProviderStrategy<T extends AIProviderAuthConfig, C extends AIProviderConfig> = {
name: string
modelIdsAreCustomerNamed?: boolean
validationSkipsModelEndpoint?: boolean
listModels(authConfig: T, config: C): Promise<AIProviderModel[]>
suggestModels?(authConfig: T, config: C): Promise<string[]>
validateConnection(authConfig: T, config: C, log: FastifyBaseLogger): Promise<void>
}