pub struct CoderPrompt {
pub system: String,
pub user: String,
pub included_files: Vec<PathBuf>,
}Expand description
A built prompt — system + user strings ready for
ChatRequest, plus the list of files actually injected (useful
for audit logs and the foreman’s scorecard).
Fields§
§system: String§user: String§included_files: Vec<PathBuf>Trait Implementations§
Source§impl Clone for CoderPrompt
impl Clone for CoderPrompt
Source§fn clone(&self) -> CoderPrompt
fn clone(&self) -> CoderPrompt
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CoderPrompt
impl RefUnwindSafe for CoderPrompt
impl Send for CoderPrompt
impl Sync for CoderPrompt
impl Unpin for CoderPrompt
impl UnsafeUnpin for CoderPrompt
impl UnwindSafe for CoderPrompt
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