pub struct ModelFlags {
pub provider: Option<String>,
pub model: Option<String>,
pub api_key: Option<String>,
pub thinking: Option<String>,
pub models: Option<Vec<String>>,
}Expand description
The model flags a session starts with (--provider, --model, --api-key, --thinking, --models).
Fields§
§provider: Option<String>§model: Option<String>§api_key: Option<String>§thinking: Option<String>§models: Option<Vec<String>>--models: the scoped model patterns (None: the settings’ enabledModels).
Trait Implementations§
Source§impl Clone for ModelFlags
impl Clone for ModelFlags
Source§impl Debug for ModelFlags
impl Debug for ModelFlags
Source§impl Default for ModelFlags
impl Default for ModelFlags
Source§impl PartialEq for ModelFlags
impl PartialEq for ModelFlags
impl StructuralPartialEq for ModelFlags
Auto Trait Implementations§
impl Forget for ModelFlags
impl Freeze for ModelFlags
impl Move for ModelFlags
impl RefUnwindSafe for ModelFlags
impl Send for ModelFlags
impl Sync for ModelFlags
impl Unpin for ModelFlags
impl UnsafeUnpin for ModelFlags
impl UnwindSafe for ModelFlags
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