pub struct RotaryBridgeConfig {
pub provider: Arc<dyn UnthinkclawProvider>,
pub tools: Vec<Arc<dyn UnthinkclawTool>>,
pub system_prompt: String,
pub model: String,
pub workspace: PathBuf,
pub max_tool_iterations: usize,
pub auto_compact_after: usize,
pub hook_ctx: ToolHookContext,
}Expand description
Configuration for building a RotaryAgentBridge.
Fields§
§provider: Arc<dyn UnthinkclawProvider>§tools: Vec<Arc<dyn UnthinkclawTool>>§system_prompt: String§model: String§workspace: PathBuf§max_tool_iterations: usize§auto_compact_after: usizerx4 auto-compaction threshold. 0 leaves compaction off; a non-zero
value is forwarded to Agent::auto_compact_after.
hook_ctx: ToolHookContextPre/post tool hooks, so rx4 enforces the same permissions as the legacy loop.
Auto Trait Implementations§
impl !RefUnwindSafe for RotaryBridgeConfig
impl !UnwindSafe for RotaryBridgeConfig
impl Freeze for RotaryBridgeConfig
impl Send for RotaryBridgeConfig
impl Sync for RotaryBridgeConfig
impl Unpin for RotaryBridgeConfig
impl UnsafeUnpin for RotaryBridgeConfig
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more