IdleTimeoutBreaker
Defined in the errors module.AI Agent Circuit breaker for consecutive idle-timeout failures. Prevents runaway API costs when providers repeatedly stall.
Properties
int
No description available.
Methods
record_idle_timeout()
Returns True when the hard cap is reached.
reset()
Instance method.
Source
View on GitHub
praisonaiagents/errors.py at line 51
