Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.praison.ai/llms.txt

Use this file to discover all available pages before exploring further.

on_failover

Method
This is a method of the FailoverManager class in the failover module.
Register a callback for failover events.

Signature

def on_failover(callback: Callable[[AuthProfile, AuthProfile], None]) -> None

Parameters

callback
Callable
required
Function called with (failed_profile, new_profile)

Source

View on GitHub

praisonaiagents/llm/failover.py at line 365