pub struct RuntimeView {Show 16 fields
pub model: String,
pub thinking_level: String,
pub reasoning_level: ReasoningLevel,
pub is_reasoning_explicit: bool,
pub thinking_budget: u32,
pub context_window: u64,
pub system_prompt: Option<String>,
pub compaction_model: String,
pub api_retries: u32,
pub subagent_timeout: u64,
pub max_tool_output: usize,
pub bash_timeout: u64,
pub bash_max_timeout: u64,
pub prompt_generation: u64,
pub hook_handler_count: usize,
pub prompt_inspection: Option<String>,
}Expand description
Snapshot of the read-mostly Runtime getters the clients render from. Refreshed by the actor after every Set, after prompt reload, at turn start.
Fields§
§model: String§thinking_level: String§reasoning_level: ReasoningLevel§is_reasoning_explicit: bool§thinking_budget: u32§context_window: u64§system_prompt: Option<String>§compaction_model: String§api_retries: u32§subagent_timeout: u64§max_tool_output: usize§bash_timeout: u64§bash_max_timeout: u64§prompt_generation: u64§hook_handler_count: usize§prompt_inspection: Option<String>Runtime::prompt_inspection_json() cached at snapshot time
(read once per /prompt).
Implementations§
Source§impl RuntimeView
impl RuntimeView
Trait Implementations§
Source§impl Clone for RuntimeView
impl Clone for RuntimeView
Source§impl Debug for RuntimeView
impl Debug for RuntimeView
Source§impl<'de> Deserialize<'de> for RuntimeView
impl<'de> Deserialize<'de> for RuntimeView
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
Source§impl PartialEq for RuntimeView
impl PartialEq for RuntimeView
Source§impl RuntimeRead for RuntimeView
impl RuntimeRead for RuntimeView
fn model(&self) -> &str
fn thinking_level(&self) -> &str
fn reasoning_level(&self) -> ReasoningLevel
fn is_reasoning_explicit(&self) -> bool
fn thinking_budget(&self) -> u32
fn context_window(&self) -> u64
fn system_prompt(&self) -> Option<&str>
fn compaction_model(&self) -> &str
fn api_retries(&self) -> u32
fn subagent_timeout(&self) -> u64
fn max_tool_output(&self) -> usize
fn bash_timeout(&self) -> u64
fn bash_max_timeout(&self) -> u64
Source§fn prompt_inspection_json(&self) -> Option<String>
fn prompt_inspection_json(&self) -> Option<String>
RuntimeView: cached at snapshot time.Source§impl Serialize for RuntimeView
impl Serialize for RuntimeView
impl StructuralPartialEq for RuntimeView
Auto Trait Implementations§
impl Freeze for RuntimeView
impl RefUnwindSafe for RuntimeView
impl Send for RuntimeView
impl Sync for RuntimeView
impl Unpin for RuntimeView
impl UnsafeUnpin for RuntimeView
impl UnwindSafe for RuntimeView
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.