pub struct AssembleParams<'a> {Show 15 fields
pub tools: &'a ToolRegistry,
pub agents_md: &'a [AgentsMd],
pub skills: &'a [Skill],
pub facts: &'a [Fact],
pub project_memory_status: Option<&'a str>,
pub personality: Option<&'a PersonalityProfile>,
pub soul: Option<&'a SoulDoc>,
pub task: Option<&'a TaskContext>,
pub role: Option<&'a Role>,
pub mode: &'a AgentMode,
pub memory: Option<&'a str>,
pub user_profile: Option<&'a str>,
pub cwd: Option<&'a Path>,
pub learning_enabled: bool,
pub guardrail_profile: Option<GuardrailProfile>,
}Expand description
All inputs needed to assemble a system prompt.
Fields§
§tools: &'a ToolRegistry§agents_md: &'a [AgentsMd]§skills: &'a [Skill]§facts: &'a [Fact]§project_memory_status: Option<&'a str>§personality: Option<&'a PersonalityProfile>§soul: Option<&'a SoulDoc>§task: Option<&'a TaskContext>§role: Option<&'a Role>§mode: &'a AgentMode§memory: Option<&'a str>§user_profile: Option<&'a str>§cwd: Option<&'a Path>§learning_enabled: boolWhether to include learning instructions in the system prompt.
guardrail_profile: Option<GuardrailProfile>Resolved guardrail profile (None = guardrails disabled).
Auto Trait Implementations§
impl<'a> Freeze for AssembleParams<'a>
impl<'a> !RefUnwindSafe for AssembleParams<'a>
impl<'a> Send for AssembleParams<'a>
impl<'a> Sync for AssembleParams<'a>
impl<'a> Unpin for AssembleParams<'a>
impl<'a> UnsafeUnpin for AssembleParams<'a>
impl<'a> !UnwindSafe for AssembleParams<'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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more