pub struct RlmProtocolPluginConfig {
pub observe_projection: ToolOutputBudgetConfig,
pub prompt_features: RlmPromptFeatures,
pub lashlang_abilities: LashlangAbilities,
pub lashlang_language_features: LashlangLanguageFeatures,
pub max_output_chars: usize,
pub continue_as_soft_warn_tokens: Option<usize>,
pub bound_variables_inline_char_limit: usize,
}Fields§
§observe_projection: ToolOutputBudgetConfig§prompt_features: RlmPromptFeatures§lashlang_abilities: LashlangAbilities§lashlang_language_features: LashlangLanguageFeatures§max_output_chars: usize§continue_as_soft_warn_tokens: Option<usize>§bound_variables_inline_char_limit: usizeIn the “Bound Variables” prompt section, render a variable’s value inline (so the model can read it directly) when its compact JSON form fits within this many characters; larger values fall back to a type + size hint. Set to 0 to always use hints.
Implementations§
Source§impl RlmProtocolPluginConfig
impl RlmProtocolPluginConfig
pub fn with_lashlang_abilities( self, abilities: LashlangAbilities, ) -> RlmProtocolPluginConfig
pub fn with_bound_variables_inline_char_limit( self, limit: usize, ) -> RlmProtocolPluginConfig
pub fn with_lashlang_language_features( self, language_features: LashlangLanguageFeatures, ) -> RlmProtocolPluginConfig
Trait Implementations§
Source§impl Clone for RlmProtocolPluginConfig
impl Clone for RlmProtocolPluginConfig
Source§fn clone(&self) -> RlmProtocolPluginConfig
fn clone(&self) -> RlmProtocolPluginConfig
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 RlmProtocolPluginConfig
impl Debug for RlmProtocolPluginConfig
Source§impl Default for RlmProtocolPluginConfig
impl Default for RlmProtocolPluginConfig
Source§fn default() -> RlmProtocolPluginConfig
fn default() -> RlmProtocolPluginConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RlmProtocolPluginConfigwhere
RlmProtocolPluginConfig: Default,
impl<'de> Deserialize<'de> for RlmProtocolPluginConfigwhere
RlmProtocolPluginConfig: Default,
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<RlmProtocolPluginConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<RlmProtocolPluginConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for RlmProtocolPluginConfig
Source§impl PartialEq for RlmProtocolPluginConfig
impl PartialEq for RlmProtocolPluginConfig
Source§fn eq(&self, other: &RlmProtocolPluginConfig) -> bool
fn eq(&self, other: &RlmProtocolPluginConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RlmProtocolPluginConfig
impl Serialize for RlmProtocolPluginConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for RlmProtocolPluginConfig
Auto Trait Implementations§
impl Freeze for RlmProtocolPluginConfig
impl RefUnwindSafe for RlmProtocolPluginConfig
impl Send for RlmProtocolPluginConfig
impl Sync for RlmProtocolPluginConfig
impl Unpin for RlmProtocolPluginConfig
impl UnsafeUnpin for RlmProtocolPluginConfig
impl UnwindSafe for RlmProtocolPluginConfig
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