mirror of
https://github.com/perstarkse/minne.git
synced 2026-11-22 14:34:05 +01:00
chore: harden common errors, fastembed blocking, and ingest ownership
Run FastEmbed inference on spawn_blocking, propagate Surreal take failures, add AppError::internal and typed ingest/embedding parse errors, and take owned file lists in ingestion payload construction.
This commit is contained in:
1 parent
1e25705377
commit
1e0dba72c8
13 files changed
+153
-125
No files matched your search
@@ -73,8 +73,8 @@ pub async fn ingest_data(
|
||||
input.content,
|
||||
input.context,
|
||||
input.category,
|
||||
&file_infos,
|
||||
&user_id,
|
||||
file_infos,
|
||||
user_id.clone(),
|
||||
)?;
|
||||
|
||||
let futures: Vec<_> = payloads
|
||||
|
||||
Reference in new issue
Block a user