pub struct RuntimeConfig {
pub agent_id: String,
pub max_delegation_depth: u32,
pub enable_graph_memory: bool,
pub max_steps: u32,
pub extraction_interval: u32,
}Expand description
Configuration for AinlRuntime and RuntimeContext.
Fields§
§agent_id: StringOwning agent id (required for extraction, graph queries, and AinlRuntime).
max_delegation_depth: u32Maximum nested AinlRuntime::run_turn depth (internal counter); see TurnInput::depth.
enable_graph_memory: bool§max_steps: u32Cap for the minimal BFS graph walk in AinlRuntime::run_turn.
extraction_interval: u32Run GraphExtractorTask::run_pass every N completed turns (0 disables scheduled passes).
Trait Implementations§
Source§impl Clone for RuntimeConfig
impl Clone for RuntimeConfig
Source§fn clone(&self) -> RuntimeConfig
fn clone(&self) -> RuntimeConfig
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 RuntimeConfig
impl Debug for RuntimeConfig
Source§impl Default for RuntimeConfig
impl Default for RuntimeConfig
Source§impl<'de> Deserialize<'de> for RuntimeConfigwhere
RuntimeConfig: Default,
impl<'de> Deserialize<'de> for RuntimeConfigwhere
RuntimeConfig: 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 RuntimeConfig
impl RefUnwindSafe for RuntimeConfig
impl Send for RuntimeConfig
impl Sync for RuntimeConfig
impl Unpin for RuntimeConfig
impl UnsafeUnpin for RuntimeConfig
impl UnwindSafe for RuntimeConfig
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