Caching Preset • Rust AI Agent SDK
CachingPreset: Caching preset configuration
CachingPreset
Defined in the presets module.
Rust AI Agent SDK
Caching preset configuration
Fields
| Name | Type | Description |
|---|---|---|
enabled | bool | Enable caching |
prompt_caching | bool | Enable prompt caching |
ttl_secs | Option<u64> | Cache TTL in seconds |
Source
View on GitHubpraisonai/src/presets.rs at line 718