pub struct SystemPromptConfig {
pub verbose: bool,
pub include_tools: bool,
pub include_workspace: bool,
pub custom_instruction: Option<String>,
pub personality: AgentPersonality,
pub response_style: ResponseStyle,
}
Expand description
Configuration for system prompt generation
Fields§
§verbose: bool
Enable verbose mode
include_tools: bool
Include tool descriptions
include_workspace: bool
Include workspace context
custom_instruction: Option<String>
Custom system instruction
personality: AgentPersonality
Agent personality
response_style: ResponseStyle
Response style
Trait Implementations§
Source§impl Clone for SystemPromptConfig
impl Clone for SystemPromptConfig
Source§fn clone(&self) -> SystemPromptConfig
fn clone(&self) -> SystemPromptConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for SystemPromptConfig
impl Debug for SystemPromptConfig
Source§impl Default for SystemPromptConfig
impl Default for SystemPromptConfig
Source§impl<'de> Deserialize<'de> for SystemPromptConfig
impl<'de> Deserialize<'de> for SystemPromptConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for SystemPromptConfig
impl RefUnwindSafe for SystemPromptConfig
impl Send for SystemPromptConfig
impl Sync for SystemPromptConfig
impl Unpin for SystemPromptConfig
impl UnwindSafe for SystemPromptConfig
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