API: the support page becomes a web app, React with Mantine and FastAPI (D-137)
Same features as the local page; agents, tools, prompts and knowledge unchanged. - API/web/: React (Vite) with Mantine components: collapsible sidebar, mobile drawer, cards, notifications, dark mode - API/support/serveur.py: FastAPI serves the built page and /api; agent events pushed by server-sent events (/api/flux) instead of polling - data, cases folder and port set by AIMSIGHT_DATA, AIMSIGHT_CASES, AIMSIGHT_PORT - check.py: server check (host guard, analyse, stream, PDF) with a fake client - old page.html removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
eb10a6b735
commit
b0245c4067
17 files changed
+1666
-263
No files matched your search
@@ -8,7 +8,7 @@ from pathlib import Path
|
||||
from typing import Callable
|
||||
|
||||
API = Path(__file__).resolve().parents[1]
|
||||
CASES = API / "cases"
|
||||
CASES = Path(os.environ.get("AIMSIGHT_CASES", API / "cases")).resolve()
|
||||
TYPES_IMAGE = {"image/png", "image/jpeg", "image/gif", "image/webp"}
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user