From Env • AI Agent SDK
from_env: Load config from environment variables.
from_env
Method
</div>
This is a method of the ContextConfig class in the models module.
Load config from environment variables.
Reads PRAISONAI_CONTEXT_* environment variables.
Signature
def from_env() -> 'ContextConfig'Returns
ResponseField
'ContextConfig'The result of the operation.
Uses
os.getenvOptimizerStrategyclsget_boolget_floatget_int
Used By
Source
View on GitHubpraisonaiagents/context/models.py at line 382