naman1102 commited on
Commit
1294ec3
·
1 Parent(s): 6c9ca3f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -3
app.py CHANGED
@@ -27,9 +27,7 @@ class BasicAgent:
27
  print(f"Agent received question: {question}")
28
 
29
  # The user_question argument for AgentState is the question.
30
- init_state = AgentState(user_question=question, task_id=task_id)
31
- init_state.add(SystemMessage(content=SYSTEM_PROMPT))
32
- init_state.add(HumanMessage(content=question))
33
 
34
  # IMPORTANT: invoke() returns a **new** state instance (or an AddableValuesDict),
35
  # not the object we pass in. Use the returned value to fetch final_answer.
 
27
  print(f"Agent received question: {question}")
28
 
29
  # The user_question argument for AgentState is the question.
30
+
 
 
31
 
32
  # IMPORTANT: invoke() returns a **new** state instance (or an AddableValuesDict),
33
  # not the object we pass in. Use the returned value to fetch final_answer.