mirror of
https://github.com/perstarkse/minne.git
synced 2026-07-05 04:21:38 +02:00
fix: arc-share retrieved chunks, centralize entity embeddings, and trim hot-path clones.
This commit is contained in:
@@ -74,10 +74,7 @@ pub async fn extract_text_from_file(
|
||||
config: &AppConfig,
|
||||
storage: &StorageManager,
|
||||
) -> Result<String, AppError> {
|
||||
let file_bytes = storage
|
||||
.get(&file_info.path)
|
||||
.await
|
||||
.map_err(AppError::from)?;
|
||||
let file_bytes = storage.get(&file_info.path).await.map_err(AppError::from)?;
|
||||
let local_path = resolve_existing_local_path(storage, &file_info.path).await;
|
||||
|
||||
match file_info.mime_type.as_str() {
|
||||
|
||||
Reference in New Issue
Block a user