RateLimitedLogger

org.llm4s.util.RateLimitedLogger
See theRateLimitedLogger companion class

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def apply(logger: Logger): RateLimitedLogger

Create rate limiter with default thresholds (60s, 100 events)

Create rate limiter with default thresholds (60s, 100 events)

Attributes

def apply(logger: Logger, throttleSeconds: Long, throttleCount: Int): RateLimitedLogger

Create rate limiter with custom thresholds

Create rate limiter with custom thresholds

Attributes