Revert "feat(multimodal): 补齐阶段F运行管理与收尾验收"

This reverts commit 64f63ff1bdb0b041f4b0c52447e529e267d7b31a.
This commit is contained in:
2026-09-05 02:02:26 +08:00
parent 1ac44e2881
commit f2c75f921e
25 changed files with 84 additions and 723 deletions
+1 -13
View File
@@ -49,20 +49,8 @@ def task_key(key):
return str(model_path(key)), key
def disk_bytes(key):
total = 0
try:
root = model_path(key).resolve()
for path in root.rglob("*"):
if not path.is_symlink() and path.is_file() and path.resolve().is_relative_to(root):
total += path.stat().st_size
except OSError:
return None
return total
def describe():
return {"items": [{**spec.public(), **read_state(key), "disk_bytes": disk_bytes(key)} for key, spec in CATALOG.items()]}
return {"items": [{**spec.public(), **read_state(key)} for key, spec in CATALOG.items()]}
async def download(key):