# Function createRateLimiter

Adapters exports - Model adapters (Claude, OpenAI, Gemini, Ollama) Split from index.ts for file size compliance (Issue #285)

- createRateLimiter(config: AdapterRateLimiterConfig): AdapterRateLimiter

  Creates a rate limiter with the specified configuration. Factory function for cleaner API.

  #### Parameters

  - config: AdapterRateLimiterConfig

    Rate limiter configuration

  #### Returns AdapterRateLimiter

  A new RateLimiter instance

  #### Example

      const limiter = createRateLimiter({
        capacity: 100,
        refillRate: 10,
      });

  - Defined in packages/nexus-agents/src/adapters/rate-limiter.ts:327