pub struct ModelProfile {
pub matcher: ModelMatcher,
pub thinking: ThinkingRequestProfile,
pub reasoning_aliases: ReasoningAliases,
pub replay: Option<ReasoningReplayPolicy>,
pub max_tokens_semantics: MaxTokensSemantics,
pub stream_function_arguments: bool,
pub capabilities: Option<Capabilities>,
}Expand description
Model-level policy selected after the endpoint protocol is known.
Fields§
§matcher: ModelMatcherSelects which model names this profile applies to.
thinking: ThinkingRequestProfileHow thinking controls are encoded in requests.
reasoning_aliases: ReasoningAliasesModel-specific reasoning response and replay field names.
replay: Option<ReasoningReplayPolicy>Overrides the provider-level replay policy when set.
max_tokens_semantics: MaxTokensSemanticsOverrides which request field carries the output token limit.
stream_function_arguments: boolWhether function.arguments is streamed incrementally.
capabilities: Option<Capabilities>Overrides provider capabilities for this model when set.
Implementations§
Trait Implementations§
Source§impl Clone for ModelProfile
impl Clone for ModelProfile
Source§impl Debug for ModelProfile
impl Debug for ModelProfile
Source§impl Default for ModelProfile
impl Default for ModelProfile
impl Eq for ModelProfile
Source§impl PartialEq for ModelProfile
impl PartialEq for ModelProfile
impl StructuralPartialEq for ModelProfile
Auto Trait Implementations§
impl Freeze for ModelProfile
impl RefUnwindSafe for ModelProfile
impl Send for ModelProfile
impl Sync for ModelProfile
impl Unpin for ModelProfile
impl UnsafeUnpin for ModelProfile
impl UnwindSafe for ModelProfile
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.