Module: Ollama::RateLimitHandler
- Included in:
- Embeddings
- Defined in:
- lib/ollama/rate_limit_handler.rb
Overview
Shared request wrapper for API-key rotation on HTTP 429 responses.
Classes including this module must expose @config and may override sleep
in tests. The wrapper keeps retry state local to the method invocation and
never mutates request-global counters.