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 { aiProviderKeyHealth } from '@activepieces/server-utils'
import { FastifyBaseLogger } from 'fastify'
import { aiProviderService } from './ai-provider-service'
export function installAiKeyHealthReporter(log: FastifyBaseLogger): void {
aiProviderKeyHealth.setReporter(({ platformId, providerConfigId, signal }) => {
aiProviderService(log).recordKeyObservation({ platformId, providerId: providerConfigId, signal })
.catch((error) => log.warn({ error, aiProvider: { id: providerConfigId } }, '[aiKeyHealthReporter] Could not record key status'))
})
}