pub struct FindInitialModelFullOptions<'a> {
pub cli_provider: Option<&'a str>,
pub cli_model: Option<&'a str>,
pub scoped_models: &'a [ScopedModel],
pub is_continuing: bool,
pub default_provider: Option<&'a str>,
pub default_model_id: Option<&'a str>,
pub default_thinking_level: Option<ModelThinkingLevel>,
pub model_runtime: &'a ModelRuntime,
}Expand description
Options for the TypeScript-shaped find_initial_model_full helper.
Fields§
§cli_provider: Option<&'a str>--provider (CLI path requires both provider and model).
cli_model: Option<&'a str>--model.
scoped_models: &'a [ScopedModel]Scoped models for cycling.
is_continuing: boolWhether a session is being continued/resumed.
default_provider: Option<&'a str>Settings default provider.
default_model_id: Option<&'a str>Settings default model id.
default_thinking_level: Option<ModelThinkingLevel>Settings default thinking level.
model_runtime: &'a ModelRuntimeModel runtime.
Trait Implementations§
Source§impl<'a> Clone for FindInitialModelFullOptions<'a>
impl<'a> Clone for FindInitialModelFullOptions<'a>
Source§fn clone(&self) -> FindInitialModelFullOptions<'a>
fn clone(&self) -> FindInitialModelFullOptions<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl<'a> Copy for FindInitialModelFullOptions<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for FindInitialModelFullOptions<'a>
impl<'a> !UnwindSafe for FindInitialModelFullOptions<'a>
impl<'a> Freeze for FindInitialModelFullOptions<'a>
impl<'a> Send for FindInitialModelFullOptions<'a>
impl<'a> Sync for FindInitialModelFullOptions<'a>
impl<'a> Unpin for FindInitialModelFullOptions<'a>
impl<'a> UnsafeUnpin for FindInitialModelFullOptions<'a>
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.