pub struct RunConfig {
pub max_llm_calls: u32,
pub streaming_mode: StreamingMode,
pub save_input_blobs_as_artifacts: bool,
pub support_cfc: bool,
pub pause_on_tool_calls: bool,
pub output_key: Option<String>,
pub output_schema: Option<Value>,
}Expand description
Configuration for an agent execution run.
Fields§
§max_llm_calls: u32Maximum number of LLM calls per run (safety limit).
streaming_mode: StreamingModeHow the agent streams responses.
save_input_blobs_as_artifacts: boolWhether to save input blobs (images, audio) as artifacts.
support_cfc: boolWhether to support compositional function calling.
pause_on_tool_calls: boolWhether to pause execution on tool calls (for confirmation UX).
output_key: Option<String>If set, the agent’s final text response is automatically saved to this state key.
output_schema: Option<Value>JSON Schema for structured output. When set, the LLM is instructed to produce JSON output conforming to this schema.
Trait Implementations§
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