naman1102 commited on
Commit
8a3289d
·
1 Parent(s): 833b3b5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -36,6 +36,7 @@ def plan_node(state: AgentState) -> AgentState:
36
  - excel_path (string) + excel_sheet_name (optional)
37
  - final_answer (string)
38
  """
 
39
  prior = state.get("messages", [])
40
  chat_history = prior + [f"USER: {user_input}"]
41
 
 
36
  - excel_path (string) + excel_sheet_name (optional)
37
  - final_answer (string)
38
  """
39
+ user_input = state.get("user_input", "")
40
  prior = state.get("messages", [])
41
  chat_history = prior + [f"USER: {user_input}"]
42