feat: V1 - DAG编排/告警系统/Agent循环/知识库RAG/Webhook + 审核管理富上下文修复

This commit is contained in:
2026-08-13 00:46:26 +08:00
parent 3b89a933cd
commit a1111f4fab
+18
View File
@@ -0,0 +1,18 @@
"""Alert schemas."""
from pydantic import BaseModel, Field
from typing import Optional
from datetime import datetime
class AlertResponse(BaseModel):
id: int
alert_type: str
severity: str
message: str
project_id: Optional[int] = None
worker_id: Optional[int] = None
is_read: bool
tenant_id: int
created_at: datetime
model_config = {"from_attributes": True}