Context Preset • Rust AI Agent SDK
ContextPreset: Context preset configuration
ContextPreset
Defined in the presets module.
Rust AI Agent SDK
Context preset configuration
Fields
| Name | Type | Description |
|---|---|---|
max_tokens | usize | Maximum context tokens |
strategy | String | Context window strategy |
include_system | bool | Include system prompt in context |
include_tools | bool | Include tool results in context |
Source
View on GitHubpraisonai/src/presets.rs at line 587