mirror of
https://github.com/perstarkse/minne.git
synced 2026-05-30 03:10:45 +02: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:
@@ -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