pub struct ModelSettings {
pub frame_model: Option<String>,
pub frame_thinking: Option<String>,
pub child_model: Option<String>,
pub review_model: Option<String>,
pub map_tokens: Option<u64>,
}Expand description
The saved model settings (/settings -> Models), read for every request so a change applies to the next frame.
Fields§
§frame_model: Option<String>§frame_thinking: Option<String>§child_model: Option<String>§review_model: Option<String>§map_tokens: Option<u64>rlm.mapTokens: the token limit of a top-level map that sets none (None: no limit).
Trait Implementations§
Source§impl Clone for ModelSettings
impl Clone for ModelSettings
Source§impl Debug for ModelSettings
impl Debug for ModelSettings
Auto Trait Implementations§
impl Forget for ModelSettings
impl Freeze for ModelSettings
impl Move for ModelSettings
impl RefUnwindSafe for ModelSettings
impl Send for ModelSettings
impl Sync for ModelSettings
impl Unpin for ModelSettings
impl UnsafeUnpin for ModelSettings
impl UnwindSafe for ModelSettings
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