fix: importing from form shouldnt alter hnsw embeddings

This commit is contained in:
Gabriel Horner
2025-10-16 09:01:13 -04:00
committed by Gabriel Horner
parent 865c8c690e
commit 683b2c54c8
3 changed files with 4 additions and 3 deletions

View File

@@ -159,7 +159,7 @@
(js/console.error "Import EDN error: " e)
(reset! *result {:error "An unexpected error occurred building the import. See the javascript console for details."})))
;; _ (cljs.pprint/pprint _txs)
tx-meta' (merge {:import-db? true} tx-meta)]
tx-meta' (merge {::sqlite-export/imported-data? true} tx-meta)]
(ldb/transact! conn (vec (concat init-tx block-props-tx misc-tx)) tx-meta')))
(defn ^:large-vars/cleanup-todo apply-ops!