#[non_exhaustive]pub struct AgentLoopConfig { /* private fields */ }Expand description
Configuration for the agent loop.
Implementations§
Source§impl AgentLoopConfig
impl AgentLoopConfig
Sourcepub fn active_goal(&self) -> Option<&str>
pub fn active_goal(&self) -> Option<&str>
The active session goal to surface to the main agent, or None when
Gold is disabled or no goal is set. Falls back to the legacy
evaluation_prompt for back-compat via GoldConfig::effective_goal.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for AgentLoopConfig
impl !UnwindSafe for AgentLoopConfig
impl Freeze for AgentLoopConfig
impl Send for AgentLoopConfig
impl Sync for AgentLoopConfig
impl Unpin for AgentLoopConfig
impl UnsafeUnpin for AgentLoopConfig
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