constructor(config = {}) {
    const { model = "openrouter/llama-3.1-8b-instruct" } = config;
    super();
    const client = new OpenAI({
      baseURL: "https://apipie.ai/v1",
      apiKey: process.env.APIPIE_LLM_API_KEY,
      maxRetries: 3,
    });

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