pub struct Intent {
pub tier: Tier,
pub effort: Effort,
}Expand description
The mind a call asks for — a bounded vocabulary, never a model name.
The guest states what kind of answer it needs; the host (Wandlet: the resolver’s intent mapping) picks the provider, model, and parameters. Keeping model names out of guests is what lets the platform swap providers without touching a single published artifact — and it is why this is two small closed enums rather than open strings: an unknown value is refused at the boundary instead of silently falling through someone’s mapping table.
Fields§
§tier: TierThe quality/latency corner to aim for.
effort: EffortHow hard to think before answering.
Trait Implementations§
impl Copy for Intent
Source§impl<'de> Deserialize<'de> for Intent
impl<'de> Deserialize<'de> for Intent
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 Intent
impl StructuralPartialEq for Intent
Auto Trait Implementations§
impl Forget for Intent
impl Freeze for Intent
impl Move for Intent
impl RefUnwindSafe for Intent
impl Send for Intent
impl Sync for Intent
impl Unpin for Intent
impl UnsafeUnpin for Intent
impl UnwindSafe for Intent
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