pub struct PiModel {
pub provider: String,
pub model: String,
}Expand description
The one session model a native pi session runs on, as pi names it: the provider id and the
exact model id inside that provider’s catalog (built in, or supplied by the host’s
models.json in the agent directory). Step tiers are not realized here — see the target’s
capability profile — so one model is the whole binding.
Fields§
§provider: String§model: StringImplementations§
Trait Implementations§
impl Eq for PiModel
impl StructuralPartialEq for PiModel
Auto Trait Implementations§
impl Freeze for PiModel
impl RefUnwindSafe for PiModel
impl Send for PiModel
impl Sync for PiModel
impl Unpin for PiModel
impl UnsafeUnpin for PiModel
impl UnwindSafe for PiModel
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.