constructor(config = {}) {
    const { model = "gemini-2.0-flash-lite" } = config;
    super();
    const client = new OpenAI({
      baseURL: "https://generativelanguage.googleapis.com/v1beta/openai/",
      apiKey: process.env.GEMINI_API_KEY,
      maxRetries: 0,
    });

    this._client = client;
    this.model = model;
    this.verbose = true;
  }
The agent provider for the Gemini provider.
We wrap Gemini in UnTooled because its tool-calling is not supported via the dedicated OpenAI API.