pub enum IncludeContents {
Unset,
Default,
None,
}Expand description
What parts of prior conversation history the agent receives ("" / "default" / "none"
as strings; see as_str).
Unset acts as Default except under a single_turn placement, where history is hidden
(the contents processor hides history whenever the value is not Default). An explicit
Default keeps history.
Variants§
Unset
Not set (the empty string).
Default
The agent receives the relevant conversation history, even when placed as a single_turn workflow node.
None
The agent operates solely on its current turn: latest user input plus any following agent events.
Implementations§
Trait Implementations§
Source§impl Clone for IncludeContents
impl Clone for IncludeContents
impl Copy for IncludeContents
Source§impl Debug for IncludeContents
impl Debug for IncludeContents
Source§impl Default for IncludeContents
impl Default for IncludeContents
impl Eq for IncludeContents
Source§impl PartialEq for IncludeContents
impl PartialEq for IncludeContents
impl StructuralPartialEq for IncludeContents
Auto Trait Implementations§
impl Forget for IncludeContents
impl Freeze for IncludeContents
impl Move for IncludeContents
impl RefUnwindSafe for IncludeContents
impl Send for IncludeContents
impl Sync for IncludeContents
impl Unpin for IncludeContents
impl UnsafeUnpin for IncludeContents
impl UnwindSafe for IncludeContents
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.