import { OAIEngineExtension } from '@/domain/abstracts/oai.abstract'; import { Model } from '@/domain/models/model.interface'; import { ConfigService } from '@nestjs/config'; import { HttpService } from '@nestjs/axios'; export default class CortexProvider extends OAIEngineExtension { private readonly configService; protected readonly httpService: HttpService; provider: string; apiUrl: string; constructor(configService: ConfigService, httpService: HttpService); loadModel(model: Model): Promise; unloadModel(modelId: string): Promise; private readonly promptTemplateConverter; }