pub struct GeneralConfig {Show 16 fields
pub verbosity: u8,
pub behavior: GeneralBehaviorFlags,
pub workflow: GeneralWorkflowFlags,
pub execution: GeneralExecutionFlags,
pub developer_iters: u32,
pub reviewer_reviews: u32,
pub developer_context: u8,
pub reviewer_context: u8,
pub review_depth: String,
pub prompt_path: Option<String>,
pub templates_dir: Option<String>,
pub git_user_name: Option<String>,
pub git_user_email: Option<String>,
pub max_dev_continuations: u32,
pub max_xsd_retries: u32,
pub max_same_agent_retries: u32,
}Expand description
General configuration section.
Fields§
§verbosity: u8Verbosity level (0-4).
behavior: GeneralBehaviorFlagsBehavioral flags (interactive, auto-detect, strict validation)
workflow: GeneralWorkflowFlagsWorkflow automation flags (checkpoint, auto-rebase)
execution: GeneralExecutionFlagsExecution behavior flags (universal prompt, isolation mode)
developer_iters: u32Number of developer iterations.
reviewer_reviews: u32Number of reviewer re-review passes.
developer_context: u8Developer context level.
reviewer_context: u8Reviewer context level.
review_depth: StringReview depth level.
prompt_path: Option<String>Path to save last prompt.
templates_dir: Option<String>User templates directory for custom template overrides. When set, templates in this directory take priority over embedded templates.
git_user_name: Option<String>Git user name for commits (optional, falls back to git config).
git_user_email: Option<String>Git user email for commits (optional, falls back to git config).
max_dev_continuations: u32Maximum continuation attempts when developer returns “partial” or “failed”.
Higher values allow more attempts to complete complex tasks within a single plan.
Semantics: this value counts continuation attempts (fresh sessions) beyond the initial
attempt. Total valid attempts per iteration is 1 + max_dev_continuations.
Default: 2 continuations (initial attempt + 2 continuations = 3 total attempts per iteration).
max_xsd_retries: u32Maximum XSD retry attempts when agent output fails XML validation.
Higher values allow more attempts to fix XML formatting issues before switching to the next agent in the fallback chain.
Default: 10 retries before falling back to the next agent.
max_same_agent_retries: u32Maximum same-agent retry attempts for transient invocation failures (timeout/internal).
Semantics: this is a failure budget for the current agent. With a value of 2:
1st failure → retry the same agent; 2nd failure → fall back to the next agent.
Default: 2 (one retry before falling back).
Trait Implementations§
Source§impl Clone for GeneralConfig
impl Clone for GeneralConfig
Source§fn clone(&self) -> GeneralConfig
fn clone(&self) -> GeneralConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for GeneralConfig
impl Debug for GeneralConfig
Source§impl Default for GeneralConfig
impl Default for GeneralConfig
Source§impl<'de> Deserialize<'de> for GeneralConfigwhere
GeneralConfig: Default,
impl<'de> Deserialize<'de> for GeneralConfigwhere
GeneralConfig: Default,
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>,
Auto Trait Implementations§
impl Freeze for GeneralConfig
impl RefUnwindSafe for GeneralConfig
impl Send for GeneralConfig
impl Sync for GeneralConfig
impl Unpin for GeneralConfig
impl UnwindSafe for GeneralConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more