Skip to main content

build_with_fix_loop

Function build_with_fix_loop 

Source
pub(crate) async fn build_with_fix_loop(
    args: &OptimizeArgs,
    build_fix_attempts: u32,
    source: &Path,
    package: &str,
    profile: &str,
    crate_dir: &str,
    baseline_sha: &str,
    metric_name: &str,
    goal: &str,
    goal_description: Option<&str>,
    best_value: f64,
    history: &[RoundRecord],
    attempt_memory: Option<&str>,
    last_verdict_json: &str,
    client: &Client,
    models: &ModelRoles,
    coding_system: &str,
    scheduler_cwd: &Path,
    edit_tl: &ToolLoopConfig,
    stdout_color: Style,
    stderr_color: Style,
    active_model: &mut ActiveModelPrinter,
    total_usage: &mut Usage,
    turn_timeout: Duration,
    interrupted: Arc<AtomicBool>,
) -> Result<Option<String>>