pub struct PlatformLLMDefaults {
pub default_endpoint: Option<String>,
pub default_model: Option<String>,
pub default_provider: Option<String>,
pub fallback_model: Option<String>,
pub fallback_provider: Option<String>,
pub default_model_ref: Option<String>,
pub fallback_model_ref: Option<String>,
}Expand description
PlatformLLMDefaults model.
Fields§
§default_endpoint: Option<String>§default_model: Option<String>Stored model half. May be bare (minimax-m3) or already provider-qualified
(ollama/glm-5.2) — production holds both shapes. Dial default_model_ref instead of
joining this yourself.
default_provider: Option<String>§fallback_model: Option<String>Stored model half of the fallback. A vendor path (MiniMaxAI/MiniMax-M3) carries a slash
while naming no provider, so this string is NOT dialable on its own — use
fallback_model_ref.
fallback_provider: Option<String>§default_model_ref: Option<String>The default as the chat surface accepts it: provider/model, already de-duplicated against
a model half that carries the provider head. Null when no default model is configured.
fallback_model_ref: Option<String>Same for the fallback. Null when no fallback model is configured.
Trait Implementations§
Source§impl Clone for PlatformLLMDefaults
impl Clone for PlatformLLMDefaults
Source§fn clone(&self) -> PlatformLLMDefaults
fn clone(&self) -> PlatformLLMDefaults
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 PlatformLLMDefaults
impl Debug for PlatformLLMDefaults
Source§impl Default for PlatformLLMDefaults
impl Default for PlatformLLMDefaults
Source§fn default() -> PlatformLLMDefaults
fn default() -> PlatformLLMDefaults
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PlatformLLMDefaults
impl<'de> Deserialize<'de> for PlatformLLMDefaults
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
Source§impl PartialEq for PlatformLLMDefaults
impl PartialEq for PlatformLLMDefaults
Source§impl Serialize for PlatformLLMDefaults
impl Serialize for PlatformLLMDefaults
impl StructuralPartialEq for PlatformLLMDefaults
Auto Trait Implementations§
impl Freeze for PlatformLLMDefaults
impl RefUnwindSafe for PlatformLLMDefaults
impl Send for PlatformLLMDefaults
impl Sync for PlatformLLMDefaults
impl Unpin for PlatformLLMDefaults
impl UnsafeUnpin for PlatformLLMDefaults
impl UnwindSafe for PlatformLLMDefaults
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