Skip to main content

get_config

Function
This function is defined in the loader module.
Get the global configuration. Loads config lazily on first access and caches it.

Signature

def get_config(reload: bool) -> PraisonConfig

Parameters

reload
bool
default:"False"
Force reload from file

Returns

Returns
PraisonConfig
PraisonConfig instance

Used By

Source

View on GitHub

praisonaiagents/config/loader.py at line 286