FastContextConfig
Defined in the context module.Rust AI Agent SDK Configuration for FastContext.
Fields
| Name | Type | Description |
|---|---|---|
workspace_path | Option<String> | Workspace path |
model | String | LLM model for intelligent search |
max_turns | usize | Maximum search turns |
max_parallel | usize | Maximum parallel tool calls |
timeout | f64 | Timeout per tool call in seconds |
cache_enabled | bool | Enable caching |
cache_ttl | u64 | Cache TTL in seconds |
Methods
new
workspace_path
| Name | Type |
|---|---|
path | impl Into<String> |
model
| Name | Type |
|---|---|
model | impl Into<String> |
max_turns
| Name | Type |
|---|---|
turns | usize |
max_parallel
| Name | Type |
|---|---|
parallel | usize |
timeout
| Name | Type |
|---|---|
timeout | f64 |
cache_enabled
| Name | Type |
|---|---|
enabled | bool |
cache_ttl
| Name | Type |
|---|---|
ttl | u64 |
Source
View on GitHub
praisonai/src/context/mod.rs at line 698
