@@ -41,7 +41,7 @@ pub fn assemble(
4141 let negative_guidance = build_negative_guidance ( & recommended_files) ;
4242
4343 // Format as human-readable text
44- let guidance_text = format_guidance ( & recommended_files, total_files ) ;
44+ let guidance_text = format_guidance ( & recommended_files) ;
4545
4646 GuidanceOutput {
4747 recommended_files,
@@ -61,7 +61,7 @@ fn build_negative_guidance(_recommended: &[FileEntry]) -> Vec<String> {
6161}
6262
6363/// Format guidance as human-readable text for injection into context.
64- fn format_guidance ( recommended : & [ FileEntry ] , total_files : usize ) -> String {
64+ fn format_guidance ( recommended : & [ FileEntry ] ) -> String {
6565 if recommended. is_empty ( ) {
6666 return "## Context Focus\n No specific files identified as most relevant." . to_string ( ) ;
6767 }
@@ -96,7 +96,7 @@ mod tests {
9696
9797 #[ test]
9898 fn test_format_guidance_empty ( ) {
99- let text = format_guidance ( & [ ] , 50 ) ;
99+ let text = format_guidance ( & [ ] ) ;
100100 assert ! ( text. contains( "No specific files" ) ) ;
101101 }
102102
@@ -115,7 +115,7 @@ mod tests {
115115 } ,
116116 ] ;
117117
118- let text = format_guidance ( & files, 50 ) ;
118+ let text = format_guidance ( & files) ;
119119 assert ! ( text. contains( "src/main.rs" ) ) ;
120120 assert ! ( text. contains( "Entry Point" ) ) ;
121121 assert ! ( text. contains( "src/db.rs" ) ) ;
0 commit comments