Deep Research Config • Rust AI Agent SDK
DeepResearchConfig: Configuration for deep research settings.
DeepResearchConfig
Defined in the agents module.
Rust AI Agent SDK
Configuration for deep research settings.
Fields
| Name | Type | Description |
|---|---|---|
max_sources | usize | Maximum number of sources to include |
include_citations | bool | Include citations in output |
max_depth | usize | Maximum research depth |
timeout | u32 | Timeout in seconds |
api_base | Option<String> | API base URL |
api_key | Option<String> | API key |
Methods
new
fn new() -> SelfCreate a new config
max_sources
fn max_sources(mut self, max: usize) -> SelfSet max sources
Parameters:
| Name | Type |
|---|---|
max | usize |
include_citations
fn include_citations(mut self, include: bool) -> SelfSet include citations
Parameters:
| Name | Type |
|---|---|
include | bool |
max_depth
fn max_depth(mut self, depth: usize) -> SelfSet max depth
Parameters:
| Name | Type |
|---|---|
depth | usize |
timeout
fn timeout(mut self, timeout: u32) -> SelfSet timeout
Parameters:
| Name | Type |
|---|---|
timeout | u32 |
Source
View on GitHubpraisonai/src/agents/mod.rs at line 1039