"use strict";
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
    var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
    if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
    else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
    return c > 3 && r && Object.defineProperty(target, key, r), r;
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.LlmProviderModule = void 0;
const common_1 = require("@nestjs/common");
const llm_provider_interface_1 = require("./llm-provider.interface");
const openrouter_llm_provider_1 = require("./openrouter-llm.provider");
const proxy_llm_provider_1 = require("./proxy-llm.provider");
const application_state_module_1 = require("../application-state/application-state.module");
const llm_provider_controller_1 = require("./llm-provider.controller");
const zai_llm_provider_1 = require("./zai-llm.provider");
const alibaba_llm_provider_1 = require("./alibaba-llm.provider");
const ollama_llm_provider_1 = require("./ollama-llm.provider");
const openai_llm_provider_1 = require("./openai-llm.provider");
const llm_call_logs_module_1 = require("../llm-call-logs/llm-call-logs.module");
let LlmProviderModule = class LlmProviderModule {
};
exports.LlmProviderModule = LlmProviderModule;
exports.LlmProviderModule = LlmProviderModule = __decorate([
    (0, common_1.Module)({
        imports: [application_state_module_1.ApplicationStateModule, llm_call_logs_module_1.LlmCallLogsModule],
        controllers: [llm_provider_controller_1.LlmProviderController],
        providers: [
            openrouter_llm_provider_1.OpenRouterLlmProvider,
            zai_llm_provider_1.ZaiLlmProvider,
            alibaba_llm_provider_1.AlibabaLlmProvider,
            ollama_llm_provider_1.OllamaLlmProvider,
            openai_llm_provider_1.OpenaiLlmProvider,
            {
                provide: llm_provider_interface_1.LLM_PROVIDER,
                useClass: proxy_llm_provider_1.ProxyLlmProvider,
            },
        ],
        exports: [llm_provider_interface_1.LLM_PROVIDER],
    })
], LlmProviderModule);
//# sourceMappingURL=llm-provider.module.js.map