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