feat(agent): enrich_hf_metadata with per-model progress and in-place card update

- PostProcessor returns updates dict from enrich_hf_metadata
- AgentService includes updated_data per model in WebSocket progress events
- Convert preview_url to HTTP URL via config.get_preview_static_url()
- LoraContextMenu: showEnhancedProgress + updateSingleItem per model
- BulkContextMenu: same pattern, remove window.location.reload()
- Guard empty updated_data and clean up callbacks on HTTP error
This commit is contained in:
Will Miao
2026-07-04 16:50:56 +08:00
parent 646f1ddfb1
commit f7632a47f9
4 changed files with 64 additions and 25 deletions

View File

@@ -253,6 +253,7 @@ class PostProcessor:
"success": True,
"updated_fields": updated_fields,
"preview_downloaded": preview_downloaded,
"updates": updates,
"errors": [],
}