Release v1.0.2
Fixed
- Scheduler: Initialize
circuit_breakerand_circuit_breaker_always_closedon
BaseSchedulerso the INTELLIGENT mode strategy no longer raises
AttributeError: 'Scheduler' object has no attribute '_circuit_breaker_always_closed'
on the firstsubmit_requestwhen callers wireScheduler+Provider+
Classifier+StateManagerthemselves (e.g. the Venice AI SDK factory). - RedisBackend: Sanitize state dicts before issuing
HSET mapping=....
redis-py's encoder rejects bothNoneTypeandbool, both of which
appear inRateLimitStatecold-start dumps (request_limit,
token_limit,bucket_id,last_request_timedefault toNone;
is_verifiedis abool).set_statenow dropsNoneentries and
coercesbool→int(0/1). On read, missing fields are rehydrated to
their declared Pydantic defaults and 0/1 is coerced back tobool.
Full Changelog: v1.0.1...v1.0.2