Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|