Skip to main content

get_default

Function
This function is defined in the loader module.
Get a specific default value.

Signature

Parameters

str
required
Config key (e.g., “model”, “memory”, “memory.backend”)
Any
Value to return if key not found

Returns

Any
Config value or fallback

Uses

  • get_defaults_config

Used By

Source

View on GitHub

praisonaiagents/config/loader.py at line 417