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) -> Self
pub fn with_bound_variables_inline_char_limit(self, limit: usize) -> Self
pub fn with_lashlang_language_features( self, language_features: LashlangLanguageFeatures, ) -> Self
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§impl<'de> Deserialize<'de> for RlmProtocolPluginConfigwhere
RlmProtocolPluginConfig: Default,
impl<'de> Deserialize<'de> for RlmProtocolPluginConfigwhere
RlmProtocolPluginConfig: Default,
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
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
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