Fix model details modal and make running models primary page

This commit is contained in:
Luca Sacchi Ricciardi
2026-04-25 13:31:04 +02:00
parent 1aee51b0d6
commit 87ebd35ad5
3 changed files with 45 additions and 60 deletions
+9 -3
View File
@@ -53,12 +53,18 @@ templates_path = Path(__file__).parent / "app" / "web" / "templates"
@app.get("/")
async def root():
"""Redirect alla dashboard"""
return FileResponse(templates_path / "index.html")
"""Pagina principale: modelli residenti in memoria (ollama ps)."""
return FileResponse(templates_path / "models_running.html")
@app.get("/dashboard")
async def dashboard():
"""Dashboard principale"""
"""Alias legacy della pagina principale."""
return FileResponse(templates_path / "models_running.html")
@app.get("/models-available")
async def models_available_page():
"""Pagina modelli disponibili su disco."""
return FileResponse(templates_path / "index.html")