Update app.py
Browse files
app.py
CHANGED
@@ -53,10 +53,9 @@ class BasicAgent:
|
|
53 |
def _create_workflow(self) -> Graph:
|
54 |
"""Create the agent workflow using LangGraph."""
|
55 |
# Create the workflow with input and output types
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
)
|
60 |
|
61 |
# Add nodes
|
62 |
workflow.add_node("analyze", self._analyze_question)
|
|
|
53 |
def _create_workflow(self) -> Graph:
|
54 |
"""Create the agent workflow using LangGraph."""
|
55 |
# Create the workflow with input and output types
|
56 |
+
|
57 |
+
workflow = StateGraph(AgentState)
|
58 |
+
|
|
|
59 |
|
60 |
# Add nodes
|
61 |
workflow.add_node("analyze", self._analyze_question)
|