{"version":3,"file":"ant-ling.d.ts","sourceRoot":"","sources":["../../src/providers/ant-ling.ts"],"names":[],"mappings":"AAEA,OAAO,EAAkB,KAAK,QAAQ,EAAE,MAAM,cAAc,CAAC;AAG7D,wBAAgB,eAAe,IAAI,QAAQ,CAAC,oBAAoB,CAAC,CAShE","sourcesContent":["import { openAICompletionsApi } from \"../api/openai-completions.lazy.ts\";\nimport { envApiKeyAuth } from \"../auth/helpers.ts\";\nimport { createProvider, type Provider } from \"../models.ts\";\nimport { ANT_LING_MODELS } from \"./ant-ling.models.ts\";\n\nexport function antLingProvider(): Provider<\"openai-completions\"> {\n\treturn createProvider({\n\t\tid: \"ant-ling\",\n\t\tname: \"Ant Ling\",\n\t\tbaseUrl: \"https://api.ant-ling.com/v1\",\n\t\tauth: { apiKey: envApiKeyAuth(\"Ant Ling API key\", [\"ANT_LING_API_KEY\"]) },\n\t\tmodels: Object.values(ANT_LING_MODELS),\n\t\tapi: openAICompletionsApi(),\n\t});\n}\n"]}