naman1102 commited on
Commit
1e2a77d
·
1 Parent(s): e4d192b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -4
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
- workflow = StateGraph(
57
- input_type=AgentState,
58
- output_type=AgentState
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)