Skip to main content

get_default

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

Signature

Parameters

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

Returns

Returns
Any
Config value or fallback

Uses

  • get_defaults_config

Used By

Source

View on GitHub

praisonaiagents/config/loader.py at line 325