pub struct PromptResult {
pub system_prompt: String,
pub user_message: String,
pub file_ref: String,
}Expand description
Result of building an agent prompt.
Fields§
§system_prompt: StringThe full system prompt containing all context sections.
user_message: StringThe user message instructing the agent what to do.
file_ref: StringPath to the bean file, for @file injection by the caller.
Auto Trait Implementations§
impl Freeze for PromptResult
impl RefUnwindSafe for PromptResult
impl Send for PromptResult
impl Sync for PromptResult
impl Unpin for PromptResult
impl UnsafeUnpin for PromptResult
impl UnwindSafe for PromptResult
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