fix: arc-share retrieved chunks, centralize entity embeddings, and trim hot-path clones.

This commit is contained in:
Per Stark
2026-06-06 23:05:53 +02:00
parent 676fdbc132
commit 4559ee0aa8
41 changed files with 368 additions and 289 deletions
@@ -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() {