fixed clippy and formatting issue.

This commit is contained in:
glitchySid
2026-01-10 22:28:49 +05:30
parent 02b450865b
commit 3899f94c74
2 changed files with 6 additions and 7 deletions

View File

@@ -94,12 +94,11 @@ impl GeminiClient {
let url = self.build_url(); let url = self.build_url();
// Check cache first // Check cache first
if let Some(ref mut c) = cache { if let Some(ref mut c) = cache
if let Some(bp) = base_path { && let Some(bp) = base_path
if let Some(cached) = c.check_cache(&filenames, bp) { && let Some(cached) = c.check_cache(&filenames, bp)
return Ok(cached); {
} return Ok(cached);
}
} }
let prompt = PromptBuilder::new(&filenames).build_categorization_prompt(&self.categories); let prompt = PromptBuilder::new(&filenames).build_categorization_prompt(&self.categories);

View File

@@ -11,7 +11,7 @@
//! - File reading for deep inspection //! - File reading for deep inspection
//! - Integration between components //! - Integration between components
use noentropy::files::{is_text_file, read_file_sample, FileBatch}; use noentropy::files::{FileBatch, is_text_file, read_file_sample};
use noentropy::models::{FileCategory, OrganizationPlan}; use noentropy::models::{FileCategory, OrganizationPlan};
use noentropy::storage::{Cache, UndoLog}; use noentropy::storage::{Cache, UndoLog};
use std::collections::HashMap; use std::collections::HashMap;