pub struct RunConfig {
pub tools: Option<Vec<ToolSchema>>,
pub available_skills: Option<Vec<SkillMetadata>>,
pub stable_core_tools: Option<Vec<String>>,
pub memory_enabled: Option<bool>,
pub knowledge_enabled: Option<bool>,
pub plan_tool_enabled: Option<bool>,
pub tokenizer: Option<String>,
pub governance: Option<GovernanceConfig>,
pub attention_max_queue_size: Option<u32>,
pub scheduler_max_wall_ms: Option<u64>,
pub resource_quota: Option<ResourceQuota>,
}Expand description
K2: a bundle of run-setup configuration carried by the KernelInputEvent::ConfigureRun event.
Each field maps 1:1 to a granular Set* / Load* event; None/absent leaves that aspect untouched.
This is the host-side analogue of the SDK’s applyKernelPolicies — one event for the whole setup.
Fields§
§tools: Option<Vec<ToolSchema>>§available_skills: Option<Vec<SkillMetadata>>§stable_core_tools: Option<Vec<String>>§memory_enabled: Option<bool>§knowledge_enabled: Option<bool>§plan_tool_enabled: Option<bool>§tokenizer: Option<String>Present (any value) ⇒ reset the token engine to the char-approx estimator (see SetTokenizer).
governance: Option<GovernanceConfig>§attention_max_queue_size: Option<u32>§scheduler_max_wall_ms: Option<u64>§resource_quota: Option<ResourceQuota>Trait Implementations§
Source§impl<'de> Deserialize<'de> for RunConfig
impl<'de> Deserialize<'de> for RunConfig
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 RunConfig
impl RefUnwindSafe for RunConfig
impl Send for RunConfig
impl Sync for RunConfig
impl Unpin for RunConfig
impl UnsafeUnpin for RunConfig
impl UnwindSafe for RunConfig
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