"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GenericMistralClient = void 0;
const http_1 = require("./http");
const mistral_1 = require("./pricing/mistral");
class GenericMistralClient extends http_1.HttpClient {
    constructor(apiKey = process.env.MISTRAL_API_KEY) {
        super("https://api.mistral.ai");
        if (apiKey)
            this.setJwt(apiKey);
        this.setPrices(mistral_1.MistralTextPricing);
    }
}
exports.GenericMistralClient = GenericMistralClient;
//# sourceMappingURL=mistral.js.map