Skip to main content

RuntimeRead

Trait RuntimeRead 

Source
pub trait RuntimeRead {
Show 14 methods // Required methods 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; fn prompt_inspection_json(&self) -> Option<String>;
}
Expand description

The 14 getters, with the EXACT signatures Runtime has today, so TUI call sites compile against either. Implemented for Runtime by delegation and for RuntimeView by field access.

Required Methods§

Source

fn model(&self) -> &str

Source

fn thinking_level(&self) -> &str

Source

fn reasoning_level(&self) -> ReasoningLevel

Source

fn is_reasoning_explicit(&self) -> bool

Source

fn thinking_budget(&self) -> u32

Source

fn context_window(&self) -> u64

Source

fn system_prompt(&self) -> Option<&str>

Source

fn compaction_model(&self) -> &str

Source

fn api_retries(&self) -> u32

Source

fn subagent_timeout(&self) -> u64

Source

fn max_tool_output(&self) -> usize

Source

fn bash_timeout(&self) -> u64

Source

fn bash_max_timeout(&self) -> u64

Source

fn prompt_inspection_json(&self) -> Option<String>

RuntimeView: cached at snapshot time.

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§