Add improvements

This commit is contained in:
Urtzi Alfaro
2026-01-12 14:24:14 +01:00
parent 6037faaf8c
commit 230bbe6a19
61 changed files with 1668 additions and 894 deletions

View File

@@ -35,7 +35,6 @@ async def get_recent_actions(
ingredient_id: Optional[str] = Query(None, description="Filter by ingredient"),
product_id: Optional[str] = Query(None, description="Filter by product"),
hours_ago: int = Query(24, description="Look back hours"),
x_internal_service: str = Header(None, description="Internal service authentication")
):
"""
Get recent orchestrator actions for alert context enrichment.
@@ -52,9 +51,6 @@ async def get_recent_actions(
logger = structlog.get_logger()
# Simple internal service authentication
if x_internal_service != "alert-intelligence":
raise HTTPException(status_code=403, detail="Access denied")
try:
settings = get_settings()