pub struct ModelChoice {
pub model: Model,
pub thinking: Option<String>,
pub warning: Option<String>,
}Expand description
The model a session starts on and the thinking level its choice names explicitly (a :<thinking> suffix, a
scoped pattern’s level); None leaves the level to the settings (sdk.ts: per-model level, default, medium).
Fields§
§model: Model§thinking: Option<String>§warning: Option<String>resolveCliModel’s warning (an invalid suffix, a custom model id).
Trait Implementations§
Source§impl Clone for ModelChoice
impl Clone for ModelChoice
Auto Trait Implementations§
impl !RefUnwindSafe for ModelChoice
impl !UnwindSafe for ModelChoice
impl Forget for ModelChoice
impl Freeze for ModelChoice
impl Move for ModelChoice
impl Send for ModelChoice
impl Sync for ModelChoice
impl Unpin for ModelChoice
impl UnsafeUnpin for ModelChoice
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