pub struct AgentConfig {
pub max_turns: u32,
pub revision_depth_cap: u32,
pub default_token_budget: u32,
pub include_default_system_prompt: bool,
}Fields§
§max_turns: u32§revision_depth_cap: u32§default_token_budget: u32Default token budget hint for memory policies. Matches LlmCapabilities.max_context_tokens
when available; otherwise this floor.
include_default_system_prompt: boolIf true, the CLI-facing flag --system-prompt (or builder
.with_system_prompt()) prepends a system message; if false the loop only
sends what the caller supplies via the initial task.
Trait Implementations§
Source§impl Clone for AgentConfig
impl Clone for AgentConfig
Source§fn clone(&self) -> AgentConfig
fn clone(&self) -> AgentConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AgentConfig
impl Debug for AgentConfig
Auto Trait Implementations§
impl Freeze for AgentConfig
impl RefUnwindSafe for AgentConfig
impl Send for AgentConfig
impl Sync for AgentConfig
impl Unpin for AgentConfig
impl UnsafeUnpin for AgentConfig
impl UnwindSafe for AgentConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more