Mark Error • AI Agent SDK

mark_error: Mark this profile as having an error.

mark_error

Method

</div>

This is a method of the AuthProfile class in the failover module.

Mark this profile as having an error.

Signature

python
def mark_error(error: str, cooldown_seconds: float) -> None

Parameters

ParamField str

No description available.

ParamField float

No description available.

Uses

  • time.time

Used By

Source

View on GitHub

praisonaiagents/llm/failover.py at line 158