constructor(_config = {}) {
    super();
    const client = new OpenAI({
      baseURL: process.env.TEXT_GEN_WEB_UI_BASE_PATH,
      apiKey: process.env.TEXT_GEN_WEB_UI_API_KEY ?? null,
      maxRetries: 3,
    });

    this._client = client;
    this.model = null; // text-web-gen-ui does not have a model pref.
    this.verbose = true;
  }
The agent provider for the Oobabooga provider.