pub struct ModelSelectParams {
pub provider: String,
pub model: String,
}Expand description
Parameters for selecting a provider and model. The service restarts the selected session’s runtime under the same session id; the thread keeps its history and the new route applies to subsequent turns.
Fields§
§provider: StringProvider identifier.
model: StringCanonical model identifier.
Trait Implementations§
Source§impl Clone for ModelSelectParams
impl Clone for ModelSelectParams
Source§impl Debug for ModelSelectParams
impl Debug for ModelSelectParams
Source§impl<'de> Deserialize<'de> for ModelSelectParams
impl<'de> Deserialize<'de> for ModelSelectParams
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for ModelSelectParams
Source§impl PartialEq for ModelSelectParams
impl PartialEq for ModelSelectParams
Source§impl Serialize for ModelSelectParams
impl Serialize for ModelSelectParams
impl StructuralPartialEq for ModelSelectParams
Auto Trait Implementations§
impl Freeze for ModelSelectParams
impl RefUnwindSafe for ModelSelectParams
impl Send for ModelSelectParams
impl Sync for ModelSelectParams
impl Unpin for ModelSelectParams
impl UnsafeUnpin for ModelSelectParams
impl UnwindSafe for ModelSelectParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.