From c46258554350b278428fb9709c30b31166ff9539 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Thu, 19 Mar 2026 22:34:29 +0100 Subject: [PATCH] Add embed_model to prepare pipeline response --- backend/local_rag.py | 1 + 1 file changed, 1 insertion(+) diff --git a/backend/local_rag.py b/backend/local_rag.py index 7cd2578..9db9987 100644 --- a/backend/local_rag.py +++ b/backend/local_rag.py @@ -845,6 +845,7 @@ def _run_prepare_pipeline(slug: str, on_progress=None, **opts): "status": "ok", "results": results, "source_signature": source_signature, + "embed_model": (results.get("embed") or {}).get("embed_model") if isinstance(results.get("embed"), dict) else None, }