pub struct AdaptOrchConfig {
pub enabled: bool,
pub topology_provider: ProviderName,
pub classify_timeout_secs: u64,
pub state_path: String,
pub max_classify_tokens: u32,
}Expand description
Configuration for AdaptOrch — bandit-driven topology advisor ([orchestration.adaptorch]).
§Example
[orchestration.adaptorch]
enabled = true
topology_provider = "fast"
classify_timeout_secs = 4
state_path = ""Fields§
§enabled: boolEnable AdaptOrch. When false, planning uses the default plan() path.
topology_provider: ProviderNameProvider name from [[llm.providers]] for goal classification. Empty → primary provider.
classify_timeout_secs: u64Hard timeout (seconds) for the classification LLM call.
state_path: StringPath to the persisted Beta-arm JSON state file.
Empty string → ~/.zeph/adaptorch_state.json (resolved at runtime).
max_classify_tokens: u32Maximum tokens for the classification LLM call.
Trait Implementations§
Source§impl Clone for AdaptOrchConfig
impl Clone for AdaptOrchConfig
Source§fn clone(&self) -> AdaptOrchConfig
fn clone(&self) -> AdaptOrchConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AdaptOrchConfig
impl Debug for AdaptOrchConfig
Source§impl Default for AdaptOrchConfig
impl Default for AdaptOrchConfig
Source§impl<'de> Deserialize<'de> for AdaptOrchConfigwhere
AdaptOrchConfig: Default,
impl<'de> Deserialize<'de> for AdaptOrchConfigwhere
AdaptOrchConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for AdaptOrchConfig
impl RefUnwindSafe for AdaptOrchConfig
impl Send for AdaptOrchConfig
impl Sync for AdaptOrchConfig
impl Unpin for AdaptOrchConfig
impl UnsafeUnpin for AdaptOrchConfig
impl UnwindSafe for AdaptOrchConfig
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