Revert "fix(settings): 补齐CUDA运行组件下载与安装入口"

This reverts commit c912409343ed7a6bd66823e994d25487ed42cf9a.
This commit is contained in:
2026-09-05 02:02:26 +08:00
parent 4441c54d4d
commit 1ac44e2881
8 changed files with 3 additions and 272 deletions
-12
View File
@@ -7,18 +7,6 @@ from app.local_models.runtime import RuntimeConfig, configuration, configure, in
router = APIRouter(prefix="/api/local-models", tags=["Local models"])
@router.get("/runtime-components/cuda")
async def cuda_status():
from app.local_models import components
return await components.status()
@router.post("/runtime-components/cuda", status_code=202)
async def install_cuda():
from app.local_models import components
return await components.install()
@router.get("")
async def list_models():
items, diagnostics = await asyncio.gather(asyncio.to_thread(manager.describe), asyncio.to_thread(model_diagnostics.recent))