DefaultsConfig
Defined in the Config Loader module.Rust AI Agent SDK Defaults configuration for Agent parameters
Fields
| Name | Type | Description |
|---|---|---|
model | Option<String> | Default LLM model |
base_url | Option<String> | Default base URL |
api_key | Option<String> | Default API key (not recommended in config) |
allow_delegation | bool | Allow delegation |
allow_code_execution | bool | Allow code execution |
code_execution_mode | String | Code execution mode |
memory | Option<serde_json::Value> | Memory configuration |
knowledge | Option<serde_json::Value> | Knowledge configuration |
planning | Option<serde_json::Value> | Planning configuration |
reflection | Option<serde_json::Value> | Reflection configuration |
guardrails | Option<serde_json::Value> | Guardrails configuration |
web | Option<serde_json::Value> | Web configuration |
output | Option<serde_json::Value> | Output configuration |
execution | Option<serde_json::Value> | Execution configuration |
caching | Option<serde_json::Value> | Caching configuration |
autonomy | Option<serde_json::Value> | Autonomy configuration |
skills | Option<serde_json::Value> | Skills configuration |
context | Option<serde_json::Value> | Context configuration |
hooks | Option<serde_json::Value> | Hooks configuration |
templates | Option<serde_json::Value> | Templates configuration |
Source
View on GitHub
praisonai/src/parity/config_loader.rs at line 102
