Initial Commit 🚀 🚀

This commit is contained in:
Abhishek Kumar 2025-09-09 14:37:32 +05:30
commit 4f2a629340
444 changed files with 76863 additions and 0 deletions

View file

@ -0,0 +1,16 @@
# api/services/workflow/errors.py
from enum import Enum
from typing import TypedDict
class ItemKind(str, Enum):
node = "node"
edge = "edge"
workflow = "workflow"
class WorkflowError(TypedDict):
kind: ItemKind # "node" | "edge"
id: str | None # nodeId or edgeId
field: str | None # “data.prompt”, “position.x”, … (optional)
message: str # human-readable text