Add AI news risk analysis and dashboard
Analyze news revisions with independent model settings, evidence-backed risk ratings, event grouping, and rolling market outlooks. Add a default homepage, archival history, pending-result refresh, and isolated regression coverage. Keep analysis disabled until explicitly enabled. Require a separately authorized schema migration before deployment and preserve compatibility with the previous six-service instance.
This commit is contained in:
1 parent
549b818e95
commit
4f43ca8b57
31 files changed
+1521
-18
No files matched your search
@@ -5,7 +5,7 @@ from fastapi.exceptions import RequestValidationError
|
||||
from fastapi.responses import RedirectResponse
|
||||
from starlette.exceptions import HTTPException
|
||||
|
||||
from alphapulse.api import auth, calendar, chat, crawler, market, news, settings, skills, trading
|
||||
from alphapulse.api import auth, calendar, chat, crawler, market, news, settings, skills, trading, risk
|
||||
from alphapulse.api.response import (
|
||||
ApiResponse, ValidationErrors, http_error, internal_error, success, validation_error,
|
||||
)
|
||||
@@ -29,6 +29,7 @@ app.include_router(skills.router)
|
||||
app.include_router(chat.router)
|
||||
app.include_router(trading.router)
|
||||
app.include_router(calendar.router)
|
||||
app.include_router(risk.router)
|
||||
|
||||
|
||||
@app.get("/api/health", include_in_schema=False)
|
||||
|
||||
Reference in new issue
Block a user