import { OAIEngineExtension } from '@/domain/abstracts/oai.abstract'; import { Model, ModelSettingParams } from '@/domain/models/model.interface'; import { HttpService } from '@nestjs/axios'; import { FileManagerService } from '@/file-manager/file-manager.service'; export default class CortexProvider extends OAIEngineExtension { protected readonly httpService: HttpService; private readonly fileManagerService; provider: string; apiUrl: string; private loadModelUrl; private unloadModelUrl; constructor(httpService: HttpService, fileManagerService: FileManagerService); private getModelDirectory; loadModel(model: Model, settings?: ModelSettingParams): Promise; unloadModel(modelId: string): Promise; private readonly promptTemplateConverter; }