Local models: the folder's README.md is the model card

The worker reads README.md when it scans the models folder (the web
app can't see it) and stores it on the folder and, after import, on
the model; every scan refreshes it for local models. Relative images
and links are dropped.

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:27:17 +01:00
1 parent 5a8893e7db
commit d27e79bba0
10 files changed
+1660 -17

No files matched your search

+2
View File
@@ -0,0 +1,2 @@
ALTER TABLE `local_folders` ADD `readme` text;--> statement-breakpoint
ALTER TABLE `models` ADD `local_readme` text;
File diff suppressed because it is too large. Load diff
+7
View File
@@ -183,6 +183,13 @@
"when": 1794093022425,
"tag": "0025_local_models",
"breakpoints": true
},
{
"idx": 26,
"version": "6",
"when": 1794093954553,
"tag": "0026_local_readme",
"breakpoints": true
}
]
}