Commit 6d07ea3
committed
fix: store actual embedding model name in nodes metadata
Bug: embedding_model field in nodes table was showing hardcoded fallback
'jina-embeddings-v4' instead of the actual configured model (e.g.,
'qwen3-embedding:0.6b' for Ollama).
Root cause: annotate_node() function (line 2325) was not adding
embedding_model to node metadata attributes, so when nodes were converted
to SurrealNodeRecord, the embedding_model field remained None and fell
back to schema default ('jina-embeddings-v4').
Fix: Added embedding_model from self.embedding_model (which is correctly
set from config at line 474-478) to node metadata attributes at line 2347.
This ensures nodes table accurately reflects which embedding provider
was actually used during indexing.1 parent 07b050a commit 6d07ea3
1 file changed
+4
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2341 | 2341 | | |
2342 | 2342 | | |
2343 | 2343 | | |
| 2344 | + | |
| 2345 | + | |
| 2346 | + | |
| 2347 | + | |
2344 | 2348 | | |
2345 | 2349 | | |
2346 | 2350 | | |
| |||
0 commit comments