"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GenericGroqClient = void 0;
const http_1 = require("./http");
const groq_1 = require("./pricing/groq");
class GenericGroqClient extends http_1.HttpClient {
    constructor(apiKey = process.env.GROQ_API_KEY) {
        super("https://api.groq.com/openai");
        if (apiKey)
            this.setJwt(apiKey);
        this.setPrices(groq_1.GroqTextPricing);
    }
}
exports.GenericGroqClient = GenericGroqClient;
//# sourceMappingURL=groq.js.map