Improve AI logic

This commit is contained in:
Urtzi Alfaro
2025-11-05 13:34:56 +01:00
parent 5c87fbcf48
commit 394ad3aea4
218 changed files with 30627 additions and 7658 deletions

View File

@@ -43,7 +43,7 @@ def get_enhanced_notification_service():
# ============================================================================
@router.post(
route_builder.build_base_route("send", include_tenant_prefix=False),
route_builder.build_base_route("send"),
response_model=NotificationResponse,
status_code=201
)
@@ -51,6 +51,7 @@ def get_enhanced_notification_service():
@track_endpoint_metrics("notification_send")
async def send_notification(
notification_data: Dict[str, Any],
tenant_id: UUID = Path(..., description="Tenant ID"),
current_user: Dict[str, Any] = Depends(get_current_user_dep),
notification_service: EnhancedNotificationService = Depends(get_enhanced_notification_service)
):