pub struct AcpModelConfigConfig {
pub default_temperature_preset: AcpTemperaturePreset,
}Expand description
Model-related configuration parameters configuration, nested under [acp.model_config].
Backs the ACP model_config session/set_config_option category (schema 1.1.0+), which is
distinct from the model category: model selects which model is active, model_config
adjusts a parameter (e.g. sampling temperature) of the currently selected model.
§Example (TOML)
[acp.model_config]
default_temperature_preset = "balanced"Fields§
§default_temperature_preset: AcpTemperaturePresetDefault sampling-temperature preset applied to new ACP sessions. Default: "balanced".
Trait Implementations§
Source§impl Clone for AcpModelConfigConfig
impl Clone for AcpModelConfigConfig
Source§fn clone(&self) -> AcpModelConfigConfig
fn clone(&self) -> AcpModelConfigConfig
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 AcpModelConfigConfig
impl Debug for AcpModelConfigConfig
Source§impl Default for AcpModelConfigConfig
impl Default for AcpModelConfigConfig
Source§fn default() -> AcpModelConfigConfig
fn default() -> AcpModelConfigConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AcpModelConfigConfig
impl<'de> Deserialize<'de> for AcpModelConfigConfig
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
Auto Trait Implementations§
impl Freeze for AcpModelConfigConfig
impl RefUnwindSafe for AcpModelConfigConfig
impl Send for AcpModelConfigConfig
impl Sync for AcpModelConfigConfig
impl Unpin for AcpModelConfigConfig
impl UnsafeUnpin for AcpModelConfigConfig
impl UnwindSafe for AcpModelConfigConfig
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