pub struct BranchSummaryOptions<'a> {
pub model: &'a Model,
pub custom_instructions: Option<&'a str>,
pub replace_instructions: bool,
pub reserve_tokens: u64,
pub now_ms: i64,
}Expand description
GenerateBranchSummaryOptions without transport settings (those belong to the caller’s model call).
Fields§
§model: &'a Model§custom_instructions: Option<&'a str>§replace_instructions: boolUse custom_instructions instead of the default prompt rather than appending them.
reserve_tokens: u64Tokens reserved when selecting branch history (upstream default 16384).
now_ms: i64Date.now() for the request’s user message.
Trait Implementations§
Source§impl<'a> Clone for BranchSummaryOptions<'a>
impl<'a> Clone for BranchSummaryOptions<'a>
impl<'a> Copy for BranchSummaryOptions<'a>
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for BranchSummaryOptions<'a>
impl<'a> !UnwindSafe for BranchSummaryOptions<'a>
impl<'a> Forget for BranchSummaryOptions<'a>
impl<'a> Freeze for BranchSummaryOptions<'a>
impl<'a> Move for BranchSummaryOptions<'a>
impl<'a> Send for BranchSummaryOptions<'a>
impl<'a> Sync for BranchSummaryOptions<'a>
impl<'a> Unpin for BranchSummaryOptions<'a>
impl<'a> UnsafeUnpin for BranchSummaryOptions<'a>
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