pub struct StaticThreadConfig<M: InputSender, H: HttpClient> {
pub tools: Vec<Rc<dyn Tool<M>>>,
pub extra_system_prompt: Option<String>,
pub rap_notifier: Option<RapNotifier<H>>,
}Expand description
The same fixed configuration for every thread — what
AgentSystemBuilder’s tools /
extra_system_prompt / rap_notifier methods build.
Fields§
§tools: Vec<Rc<dyn Tool<M>>>§extra_system_prompt: Option<String>§rap_notifier: Option<RapNotifier<H>>Trait Implementations§
Source§impl<M: InputSender + 'static, H: HttpClient + 'static> ThreadConfigSource<M, H> for StaticThreadConfig<M, H>
impl<M: InputSender + 'static, H: HttpClient + 'static> ThreadConfigSource<M, H> for StaticThreadConfig<M, H>
Auto Trait Implementations§
impl<M, H> !RefUnwindSafe for StaticThreadConfig<M, H>
impl<M, H> !Send for StaticThreadConfig<M, H>
impl<M, H> !Sync for StaticThreadConfig<M, H>
impl<M, H> !UnwindSafe for StaticThreadConfig<M, H>
impl<M, H> Freeze for StaticThreadConfig<M, H>
impl<M, H> Unpin for StaticThreadConfig<M, H>
impl<M, H> UnsafeUnpin for StaticThreadConfig<M, H>
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