pub struct ModelEntry {
pub model: String,
pub when: Option<String>,
pub no_fallback: Option<bool>,
pub overrides: ModelPolicyOverride,
}Expand description
One entry of an agent’s models list: a model the agent can run, with what to say about it
and the settings that apply when it runs. The first entry of a list is the agent’s default.
Fields§
§model: StringAn alias or a model ID, as -m takes it.
when: Option<String>§no_fallback: Option<bool>Shown with its when, and used only when a caller asks for it. Unset, it is what the
same model has in the layer below, else false.
overrides: ModelPolicyOverrideTrait Implementations§
Source§impl Clone for ModelEntry
impl Clone for ModelEntry
Source§impl Debug for ModelEntry
impl Debug for ModelEntry
Source§impl Default for ModelEntry
impl Default for ModelEntry
Source§impl PartialEq for ModelEntry
impl PartialEq for ModelEntry
Source§impl Serialize for ModelEntry
impl Serialize for ModelEntry
impl StructuralPartialEq for ModelEntry
Auto Trait Implementations§
impl Forget for ModelEntry
impl Freeze for ModelEntry
impl Move for ModelEntry
impl RefUnwindSafe for ModelEntry
impl Send for ModelEntrywhere
RawVecInner: Send,
impl Sync for ModelEntrywhere
RawVecInner: Sync,
impl Unpin for ModelEntry
impl UnsafeUnpin for ModelEntry
impl UnwindSafe for ModelEntrywhere
RawVecInner: UnwindSafe,
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