Skip to main content

maybe_run_skill_review

Function maybe_run_skill_review 

pub async fn maybe_run_skill_review(
    full_config: Option<&Config>,
    workspace_dir: PathBuf,
    config: SkillImprovementConfig,
    allow_scripts: bool,
    history: Vec<ChatMessage>,
    failed_slugs: Vec<String>,
    provider: &dyn ModelProvider,
    provider_name: &str,
    model_name: &str,
    observer: &dyn Observer,
    multimodal: &MultimodalConfig,
    pacing: &PacingConfig,
    max_tool_result_chars: usize,
    max_context_tokens: usize,
    cancellation_token: Option<&CancellationToken>,
    agent_alias: Option<&str>,
)