pub struct ForkShared {
pub provider: Arc<dyn ModelProvider + Send + Sync>,
pub tool_registry: ToolRegistry,
pub messages: Arc<Vec<Message>>,
pub config: AgentConfig,
}Expand description
Shared state across all fork lenses — cheap to clone.
Fields§
§provider: Arc<dyn ModelProvider + Send + Sync>§tool_registry: ToolRegistry§messages: Arc<Vec<Message>>§config: AgentConfigTrait Implementations§
Auto Trait Implementations§
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