pub struct AssemblyRequest<'a> {
pub registry: &'a dyn PromptRegistry,
pub scene: &'a SceneSpec,
pub prompt_override: Option<&'a str>,
pub prompt_append: &'a [PromptBlock],
pub managed_append: &'a [PromptBlock],
pub memory_prompt: Option<&'a str>,
pub ctx: &'a ScenePromptContext<'a>,
pub rules: &'a [RuleEntry],
pub skills_text: Option<&'a str>,
pub mcp_instructions: Option<&'a str>,
}Expand description
Everything one assembly reads.
Fields§
§registry: &'a dyn PromptRegistryWhat else asked to be in this prompt.
scene: &'a SceneSpec§prompt_override: Option<&'a str>settings.prompt.override: when set, it is the whole prompt.
prompt_append: &'a [PromptBlock]The blocks of settings.prompt.append.
managed_append: &'a [PromptBlock]The blocks of the managed layer’s prompt.append: appended under
prompt_override too, which no lower layer can take away.
memory_prompt: Option<&'a str>The memory section, already rendered; None when memory is off.
ctx: &'a ScenePromptContext<'a>§rules: &'a [RuleEntry]The rule documents the model is told exist, already merged.
skills_text: Option<&'a str>The skills inventory, already rendered.
mcp_instructions: Option<&'a str>Usage guidance from the connected MCP servers, already rendered.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AssemblyRequest<'a>
impl<'a> !UnwindSafe for AssemblyRequest<'a>
impl<'a> Forget for AssemblyRequest<'a>
impl<'a> Freeze for AssemblyRequest<'a>
impl<'a> Move for AssemblyRequest<'a>
impl<'a> Send for AssemblyRequest<'a>
impl<'a> Sync for AssemblyRequest<'a>
impl<'a> Unpin for AssemblyRequest<'a>
impl<'a> UnsafeUnpin for AssemblyRequest<'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