pub struct BackendConfig {
pub backend: Option<Backend>,
pub model: Option<String>,
pub budget: f64,
pub debug: bool,
}Expand description
CLI-facing config — maps to ProviderConfig with sr’s read-only sandbox.
Fields§
§backend: Option<Backend>§model: Option<String>§budget: f64§debug: boolImplementations§
Source§impl BackendConfig
impl BackendConfig
Sourcepub fn to_provider_config(&self) -> ProviderConfig
pub fn to_provider_config(&self) -> ProviderConfig
Convert to agentspec-provider’s ProviderConfig with sr’s read-only sandbox.
Auto Trait Implementations§
impl Freeze for BackendConfig
impl RefUnwindSafe for BackendConfig
impl Send for BackendConfig
impl Sync for BackendConfig
impl Unpin for BackendConfig
impl UnsafeUnpin for BackendConfig
impl UnwindSafe for BackendConfig
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