Get Profile • AI Agent SDK

get_profile: Get a profile by name.

get_profile

Method

</div>

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

Get a profile by name.

Signature

python
def get_profile(name: str) -> Optional[AuthProfile]

Parameters

ParamField str

Profile name

Returns

ResponseField Optional[AuthProfile]

The profile or None if not found

Source

View on GitHub

praisonaiagents/llm/failover.py at line 294


Related Documentation