{"version":3,"file":"vercel-ai-gateway.d.ts","sourceRoot":"","sources":["../../src/providers/vercel-ai-gateway.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG7D,wBAAgB,uBAAuB,IAAI,QAAQ,CAAC,oBAAoB,CAAC,CASxE","sourcesContent":["import { anthropicMessagesApi } from \"../api/anthropic-messages.lazy.ts\";\nimport { envApiKeyAuth } from \"../auth/helpers.ts\";\nimport { createProvider, type Provider } from \"../models.ts\";\nimport { VERCEL_AI_GATEWAY_MODELS } from \"./vercel-ai-gateway.models.ts\";\n\nexport function vercelAIGatewayProvider(): Provider<\"anthropic-messages\"> {\n\treturn createProvider({\n\t\tid: \"vercel-ai-gateway\",\n\t\tname: \"Vercel AI Gateway\",\n\t\tbaseUrl: \"https://ai-gateway.vercel.sh\",\n\t\tauth: { apiKey: envApiKeyAuth(\"Vercel AI Gateway API key\", [\"AI_GATEWAY_API_KEY\"]) },\n\t\tmodels: Object.values(VERCEL_AI_GATEWAY_MODELS),\n\t\tapi: anthropicMessagesApi(),\n\t});\n}\n"]}