pub struct PromptHints {
pub batch_tool: bool,
pub shell: bool,
}Expand description
The machine-wide toggles for the framework-authored system-prompt hints, carried from the CLI’s config into a spawn.
Each field is the global end of a stage → agent → global cascade
(crate::taint::resolve_batch_tool_hint,
crate::taint::resolve_shell_hint): a blueprint’s [agent] or
[stages.<name>] block overrides it per agent or per stage. They travel
together as one value so adding a hint doesn’t grow the arity of every spawn
entry point.
Fields§
§batch_tool: boolGlobal default for the batch-tool-calls hint.
shell: boolGlobal default for the platform shell hint.
Trait Implementations§
Source§impl Clone for PromptHints
impl Clone for PromptHints
Source§fn clone(&self) -> PromptHints
fn clone(&self) -> PromptHints
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 moreimpl Copy for PromptHints
Source§impl Debug for PromptHints
impl Debug for PromptHints
Source§impl Default for PromptHints
impl Default for PromptHints
impl Eq for PromptHints
Source§impl PartialEq for PromptHints
impl PartialEq for PromptHints
impl StructuralPartialEq for PromptHints
Auto Trait Implementations§
impl Freeze for PromptHints
impl RefUnwindSafe for PromptHints
impl Send for PromptHints
impl Sync for PromptHints
impl Unpin for PromptHints
impl UnsafeUnpin for PromptHints
impl UnwindSafe for PromptHints
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> 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§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.