Add read-only production runtime audit

This commit is contained in:
2026-08-17 11:17:40 +07:00
parent 057d4ed9dc
commit a1de4715a4
106 changed files with 6869 additions and 1782 deletions
+2 -1
View File
@@ -129,7 +129,8 @@ def create_app(
def _route_label(path: str) -> str:
known = {
"/health", "/ready", "/metrics", "/v1/rag/query", "/v1/rag/suggest",
"/v1/rag/feedback",
"/v1/rag/feedback", "/v1/rag/history", "/v1/rag/sections",
"/v1/rag/section-text",
}
return path if path in known else "other"