Navya-Sree commited on
Commit
e6822dc
·
verified ·
1 Parent(s): bde743f

Create src/state.py

Browse files
Files changed (1) hide show
  1. src/state.py +11 -0
src/state.py ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ from typing import TypedDict, List, Dict, Any, Annotated
2
+ import operator
3
+
4
+ class AgentState(TypedDict):
5
+ disruption_event: str
6
+ impact_analysis: Dict[str, Any]
7
+ alternative_routes: List[Dict[str, Any]]
8
+ audit_passed: bool
9
+ critique_feedback: str
10
+ final_mitigation_plan: str
11
+ messages: Annotated[List[str], operator.add]