"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.GenericGitHubModelsClient = void 0;
const http_1 = require("./http");
const github_1 = require("./pricing/github");
class GenericGitHubModelsClient extends http_1.HttpClient {
    constructor(apiKey = process.env.GITHUB_TOKEN) {
        super("https://models.github.ai/inference");
        if (apiKey)
            this.setJwt(apiKey);
        this.setPrices(github_1.GitHubModelsTextPricing);
    }
}
exports.GenericGitHubModelsClient = GenericGitHubModelsClient;
//# sourceMappingURL=github.js.map