Update app.py
Browse files
app.py
CHANGED
@@ -48,7 +48,8 @@ class BasicAgent:
|
|
48 |
def _create_workflow(self) -> Graph:
|
49 |
"""Create the agent workflow using LangGraph."""
|
50 |
# Create the workflow with state schema
|
51 |
-
workflow
|
|
|
52 |
|
53 |
# Add nodes
|
54 |
workflow.add_node("analyze", self._analyze_question)
|
|
|
48 |
def _create_workflow(self) -> Graph:
|
49 |
"""Create the agent workflow using LangGraph."""
|
50 |
# Create the workflow with state schema
|
51 |
+
print("Creating workflow: error happens here?")
|
52 |
+
workflow = StateGraph(state_schema= AgentState)
|
53 |
|
54 |
# Add nodes
|
55 |
workflow.add_node("analyze", self._analyze_question)
|