pub struct Choice {
pub preset: &'static LlmPreset,
pub model: String,
/* private fields */
}Expand description
One provider the user chose, ready to render.
endpoint and model are resolved rather than optional: the wizard and the
flag path both fall back to the preset’s defaults before building this, so
the renderer never has to decide what “no model” means.
Fields§
§preset: &'static LlmPresetThe preset this came from - it supplies the protocol, the timeout and the environment variable name.
model: StringThe model to ask for.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Choice
impl RefUnwindSafe for Choice
impl Send for Choice
impl Sync for Choice
impl Unpin for Choice
impl UnsafeUnpin for Choice
impl UnwindSafe for Choice
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