UNPKG

jorel

Version:

The easiest way to use LLMs, including streams, images, documents, tools and various agent scenarios.

16 lines (15 loc) 451 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.GroqProvider = void 0; const open_ai_1 = require("../open-ai"); class GroqProvider extends open_ai_1.OpenAIProvider { constructor(config) { super({ apiUrl: "https://api.groq.com/openai/v1", apiKey: process.env.GROQ_API_KEY, name: "groq", ...config, }); } } exports.GroqProvider = GroqProvider;