pub struct StreamConfig {
pub interval: Option<u64>,
pub strip_ansi: Option<bool>,
pub target: Option<String>,
pub thinking: Option<bool>,
pub thinking_target: Option<String>,
}Expand description
Configuration for stream mode (real-time CRDT write-back).
Fields§
§interval: Option<u64>Write-back interval in milliseconds (default: 200)
strip_ansi: Option<bool>Strip ANSI escape codes from agent output (default: true)
target: Option<String>Target component name for stream output (default: “exchange”)
thinking: Option<bool>Include chain-of-thought (thinking) blocks in output (default: false)
thinking_target: Option<String>Route thinking to a separate component (e.g., “log”). If unset, thinking is interleaved with response text in the target component.
Trait Implementations§
Source§impl Clone for StreamConfig
impl Clone for StreamConfig
Source§fn clone(&self) -> StreamConfig
fn clone(&self) -> StreamConfig
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 StreamConfig
impl Debug for StreamConfig
Source§impl Default for StreamConfig
impl Default for StreamConfig
Source§fn default() -> StreamConfig
fn default() -> StreamConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StreamConfig
impl<'de> Deserialize<'de> for StreamConfig
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 StreamConfig
impl RefUnwindSafe for StreamConfig
impl Send for StreamConfig
impl Sync for StreamConfig
impl Unpin for StreamConfig
impl UnsafeUnpin for StreamConfig
impl UnwindSafe for StreamConfig
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