fixed clippy and formatting issue.
This commit is contained in:
@@ -94,12 +94,11 @@ impl GeminiClient {
|
||||
let url = self.build_url();
|
||||
|
||||
// Check cache first
|
||||
if let Some(ref mut c) = cache {
|
||||
if let Some(bp) = base_path {
|
||||
if let Some(cached) = c.check_cache(&filenames, bp) {
|
||||
return Ok(cached);
|
||||
}
|
||||
}
|
||||
if let Some(ref mut c) = cache
|
||||
&& let Some(bp) = base_path
|
||||
&& let Some(cached) = c.check_cache(&filenames, bp)
|
||||
{
|
||||
return Ok(cached);
|
||||
}
|
||||
|
||||
let prompt = PromptBuilder::new(&filenames).build_categorization_prompt(&self.categories);
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
//! - File reading for deep inspection
|
||||
//! - 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::storage::{Cache, UndoLog};
|
||||
use std::collections::HashMap;
|
||||
|
||||
Reference in New Issue
Block a user