constructor(_config = {}) {
    super();
    const model = process.env.KOBOLD_CPP_MODEL_PREF ?? null;
    const client = new OpenAI({
      baseURL: process.env.KOBOLD_CPP_BASE_PATH?.replace(/\/+$/, ""),
      apiKey: null,
      maxRetries: 3,
    });

    this._client = client;
    this.model = model;
    this.verbose = true;
  }
The agent provider for the KoboldCPP provider.