Spaces:
Build error
Build error
Update agent/planning_agent.py
Browse files- agent/planning_agent.py +1 -1
agent/planning_agent.py
CHANGED
|
@@ -146,7 +146,7 @@ def summarize_chat_history():
|
|
| 146 |
except Exception as e:
|
| 147 |
logger.error(f"Error summarizing chat history: {str(e)}")
|
| 148 |
|
| 149 |
-
def route_query(query
|
| 150 |
# Summarize chat history before routing
|
| 151 |
summarize_chat_history()
|
| 152 |
# Get original query from memory if needed
|
|
|
|
| 146 |
except Exception as e:
|
| 147 |
logger.error(f"Error summarizing chat history: {str(e)}")
|
| 148 |
|
| 149 |
+
def route_query(query):
|
| 150 |
# Summarize chat history before routing
|
| 151 |
summarize_chat_history()
|
| 152 |
# Get original query from memory if needed
|