Fix HF dataset import internal error and training SQLite readiness.

Wrap AssistentImportHfDataset in try/catch, batch inserts in a transaction, clearer HF rows errors for gated datasets, EnsureTrainingReady with actionable message, and friendlier training UI errors instead of generic internal error.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
Leonid Pershin
2026-08-23 20:11:18 +03:00
co-authored by Cursor
parent b0f2736f65
commit 63538fe738
9 changed files with 323 additions and 155 deletions
+17
View File
@@ -0,0 +1,17 @@
[
"catalog_card",
"fromCards",
"AssistentGetCard",
"AssistentSaveCard",
"AssistentSearchCivitai",
"AssistentListWanted",
"AssistentEnqueueWanted",
"buildCivitaiCards",
"maybeWriteCardAfterDownload",
"sa_tab_cards",
"modelCards",
"extractCardJson",
"userImpliesGenerate",
"fromEmptyPatchRetry",
"synthesizePatchAfterEmptyFence"
]