Skip to content

Release v1.0.2

Choose a tag to compare

@github-actions github-actions released this 25 Apr 07:40
· 83 commits to main since this release

Fixed

  • Scheduler: Initialize circuit_breaker and _circuit_breaker_always_closed on
    BaseScheduler so the INTELLIGENT mode strategy no longer raises
    AttributeError: 'Scheduler' object has no attribute '_circuit_breaker_always_closed'
    on the first submit_request when callers wire Scheduler + Provider +
    Classifier + StateManager themselves (e.g. the Venice AI SDK factory).
  • RedisBackend: Sanitize state dicts before issuing HSET mapping=....
    redis-py's encoder rejects both NoneType and bool, both of which
    appear in RateLimitState cold-start dumps (request_limit,
    token_limit, bucket_id, last_request_time default to None;
    is_verified is a bool). set_state now drops None entries and
    coerces boolint (0/1). On read, missing fields are rehydrated to
    their declared Pydantic defaults and 0/1 is coerced back to bool.

Full Changelog: v1.0.1...v1.0.2