#[non_exhaustive]pub struct MagiConfig {
pub timeout: Duration,
pub max_input_len: usize,
pub completion: CompletionConfig,
}Expand description
Configuration for the MAGI orchestrator.
Controls timeout per agent, maximum input size, and LLM completion parameters.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.timeout: DurationMaximum time to wait for each agent (default: 300 seconds).
max_input_len: usizeMaximum content size in bytes (default: 1_048_576 = 1MB).
completion: CompletionConfigCompletion parameters forwarded to each agent.
Trait Implementations§
Source§impl Clone for MagiConfig
impl Clone for MagiConfig
Source§fn clone(&self) -> MagiConfig
fn clone(&self) -> MagiConfig
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 MagiConfig
impl Debug for MagiConfig
Auto Trait Implementations§
impl Freeze for MagiConfig
impl RefUnwindSafe for MagiConfig
impl Send for MagiConfig
impl Sync for MagiConfig
impl Unpin for MagiConfig
impl UnsafeUnpin for MagiConfig
impl UnwindSafe for MagiConfig
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