File size: 306 Bytes
f1fe93a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from pydantic import BaseModel
from typing import Optional
class ReflexRequest(BaseModel):
scenario: str
source: Optional[str] = "unknown"
class ReflexResponse(BaseModel):
timestamp: str
scenario_hash: str
anomaly_score: float
system_state: str
action: str
vault_size: int |