naman1102 commited on
Commit
3c3a81f
·
1 Parent(s): 2253d2b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -1
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 = StateGraph(AgentState)
 
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)