format_extraction_dry_run

Function format_extraction_dry_run 

Source
pub fn format_extraction_dry_run(
    results: &[SearchResult],
    format: &str,
    original_input: Option<&str>,
    system_prompt: Option<&str>,
    user_instructions: Option<&str>,
) -> Result<String>
Expand description

Format the extraction results for dry-run mode (only file names and line numbers)

ยงArguments

  • results - The search results to format
  • format - The output format (terminal, markdown, plain, json, or color)
  • system_prompt - Optional system prompt for LLM models
  • user_instructions - Optional user instructions for LLM models