pub struct CompiledDynamicModel {Show 24 fields
pub custom: bool,
pub id: ProviderModelId,
pub wire_model_id: WireModelId,
pub display_name: String,
pub family_id: String,
pub effective_npm: String,
pub adapter_id: String,
pub resolved_shape: String,
pub reasoning_field: String,
pub adapter: OvenAdapterFamily,
pub endpoint: Option<String>,
pub setup: Option<ValidatedSetup>,
pub auth: CompiledAuthShape,
pub capabilities: ModelCapabilities,
pub replay_declaration: Option<ReplayCapability>,
pub defaults: RequestDefaults,
pub options: ProviderOptions,
pub headers: BTreeMap<HeaderName, SafeStaticHeaderValue>,
pub cost: Option<CatalogModelCost>,
pub variants: BTreeMap<VariantId, CompiledVariant>,
pub variant_order: Vec<VariantId>,
pub default_variant: Option<VariantId>,
pub status: CompiledModelStatus,
pub behavior_fingerprint: Sha256Digest,
}Fields§
§custom: boolWhether this model comes from an authored custom provider
(source = "custom"). Replay identity is attributed per provider for
custom Responses providers so separate gateways never share history.
id: ProviderModelId§wire_model_id: WireModelId§display_name: String§family_id: String§effective_npm: String§adapter_id: String§resolved_shape: String§reasoning_field: String§adapter: OvenAdapterFamily§endpoint: Option<String>§setup: Option<ValidatedSetup>§auth: CompiledAuthShape§capabilities: ModelCapabilities§replay_declaration: Option<ReplayCapability>§defaults: RequestDefaults§options: ProviderOptions§headers: BTreeMap<HeaderName, SafeStaticHeaderValue>§cost: Option<CatalogModelCost>§variants: BTreeMap<VariantId, CompiledVariant>§variant_order: Vec<VariantId>§default_variant: Option<VariantId>§status: CompiledModelStatus§behavior_fingerprint: Sha256DigestTrait Implementations§
Source§impl Clone for CompiledDynamicModel
impl Clone for CompiledDynamicModel
Source§fn clone(&self) -> CompiledDynamicModel
fn clone(&self) -> CompiledDynamicModel
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CompiledDynamicModel
impl Debug for CompiledDynamicModel
Auto Trait Implementations§
impl Freeze for CompiledDynamicModel
impl RefUnwindSafe for CompiledDynamicModel
impl Send for CompiledDynamicModel
impl Sync for CompiledDynamicModel
impl Unpin for CompiledDynamicModel
impl UnsafeUnpin for CompiledDynamicModel
impl UnwindSafe for CompiledDynamicModel
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