mark_failure
Method
This is a method of the FailoverManager class in the failover module.Mark a profile as failed.
Signature
Parameters
AuthProfile
required
The profile that failed
str
required
Error message
bool
default:"False"
Whether this is a rate limit error
Uses
profile.mark_rate_limitedlogger.warningprofile.mark_errorget_next_profilecallbacklogger.error
Source
View on GitHub
praisonaiagents/llm/failover.py at line 311
