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