pub struct AgentInstructions {
pub instruction: String,
pub global_instruction: String,
}Expand description
The configured and engine-extended instructions of an LLM agent.
Fields§
§instruction: StringThe configured instruction plus whatever the engine appended to it
at run time (the live task_completed suffix).
global_instruction: StringThe configured global instruction.
Trait Implementations§
Source§impl Clone for AgentInstructions
impl Clone for AgentInstructions
Source§impl Debug for AgentInstructions
impl Debug for AgentInstructions
Source§impl Default for AgentInstructions
impl Default for AgentInstructions
impl Eq for AgentInstructions
Source§impl PartialEq for AgentInstructions
impl PartialEq for AgentInstructions
impl StructuralPartialEq for AgentInstructions
Auto Trait Implementations§
impl Forget for AgentInstructions
impl Freeze for AgentInstructions
impl Move for AgentInstructions
impl RefUnwindSafe for AgentInstructions
impl Send for AgentInstructionswhere
RawVecInner: Send,
impl Sync for AgentInstructionswhere
RawVecInner: Sync,
impl Unpin for AgentInstructions
impl UnsafeUnpin for AgentInstructions
impl UnwindSafe for AgentInstructionswhere
RawVecInner: UnwindSafe,
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.