Import folders without a Hub repo as local models

The Import form gets "Add as local model": every file in the folder,
kept as it is, named after the folder. A new models.source column
(hub | local) marks them; local models skip Hub checks, metadata,
downloads, updates and deep verify, and Verify checks existence and
size only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Pascal LinxweilerandClaude Opus 5.5 committed 2026-11-08 00:14:56 +01:00
1 parent 90d6007b55
commit 80ccf800df
21 files changed
+1747 -39

No files matched your search

+2 -1
View File
@@ -108,7 +108,8 @@ export function AddModelPanel({
</CardTitle>
<CardDescription>
{folders.length} folder{folders.length === 1 ? " isn't" : "s aren't"} in the library yet. Import matches
{folders.length === 1 ? " it" : " them"} with the Hub repo and verifies the files instead of downloading them again.
{folders.length === 1 ? " it" : " them"} with the Hub repo and verifies the files instead of downloading them again,
or adds {folders.length === 1 ? "it" : "them"} as a local model if there is no Hub repo.
</CardDescription>
<CardAction>
<Button variant="ghost" size="sm" onClick={rescan} disabled={scanning}>