pub enum ModelHint {
Thinking,
Execution,
Recovery,
Summarization,
}Expand description
Semantic routing hint — describes the nature of a provider call so that a routing provider can select an appropriate model.
Providers that don’t support routing ignore this field.
Variants§
Thinking
Strategic reasoning: understanding user intent, planning, complex decisions.
Execution
Tool execution: processing tool results, simple file operations, retrieval.
Recovery
Error recovery: re-evaluating and re-planning after a tool failure.
Summarization
Summarization: conversation compaction, history compression.
Trait Implementations§
impl Copy for ModelHint
impl Eq for ModelHint
impl StructuralPartialEq for ModelHint
Auto Trait Implementations§
impl Freeze for ModelHint
impl RefUnwindSafe for ModelHint
impl Send for ModelHint
impl Sync for ModelHint
impl Unpin for ModelHint
impl UnsafeUnpin for ModelHint
impl UnwindSafe for ModelHint
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.