pub struct ReaderSetup {
pub client: Arc<McpClient>,
pub vantage: Vantage,
pub since: String,
pub until: String,
pub tool_ctx: ToolCtx,
pub agent_cfg: AgentConfig,
pub model: Option<String>,
pub system_prompt: String,
}Expand description
Build one reader: a lens, one tool, and no way to reach anybody.
The only supported way to construct a gossip agent, because the
guarantees are properties of how it is assembled — a caller who built
the Agent themselves could hand it a mailbox, an outbox route, or an
interactive approver and quietly undo all three.
Fields§
§client: Arc<McpClient>§vantage: Vantage§since: StringBoth readers must be given the SAME window, or a difference between them is the world having changed rather than the sources disagreeing.
until: String§tool_ctx: ToolCtx§agent_cfg: AgentConfig§model: Option<String>§system_prompt: StringAuto Trait Implementations§
impl !RefUnwindSafe for ReaderSetup
impl !UnwindSafe for ReaderSetup
impl Freeze for ReaderSetup
impl Send for ReaderSetup
impl Sync for ReaderSetup
impl Unpin for ReaderSetup
impl UnsafeUnpin for ReaderSetup
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