feat: add model management endpoints and admin interface for cache status

Co-authored-by: Copilot <copilot@github.com>
This commit is contained in:
2026-04-29 15:52:02 +02:00
parent 6ef8816736
commit df24a07cd8
4 changed files with 219 additions and 19 deletions
+7
View File
@@ -390,6 +390,13 @@ def admin_delete_user(user_id: str):
return redirect(url_for("admin"))
@app.get("/admin/models")
@admin_required
def admin_models():
"""Show model cache status and list all models."""
return render_template("admin/models.html")
# ── Profile ───────────────────────────────────────────────────────────────
@app.route("/users/profile", methods=["GET", "POST"])