Spaces:
Sleeping
Sleeping
Commit ·
9924404
1
Parent(s): 8c1b8b7
Added User Profile DEBUG logging in plan recommender
Browse files
insucompass/core/agent_orchestrator.py
CHANGED
|
@@ -89,10 +89,11 @@ def plan_recommender_node(state: AgentState) -> Dict[str, Any]:
|
|
| 89 |
|
| 90 |
# # Generate structured recommendations
|
| 91 |
# recommendations = planner.generate_recommendations(user_profile, documents)
|
|
|
|
|
|
|
| 92 |
|
| 93 |
# 1. Formulate a search query to find up-to-date plans
|
| 94 |
|
| 95 |
-
|
| 96 |
# ------------ A) Capture today's date in a friendly format ------------
|
| 97 |
current_date = datetime.date.today().strftime("%B %d %Y") # e.g., "July 21 2025"
|
| 98 |
|
|
|
|
| 89 |
|
| 90 |
# # Generate structured recommendations
|
| 91 |
# recommendations = planner.generate_recommendations(user_profile, documents)
|
| 92 |
+
|
| 93 |
+
logger.info(f"User Profile: {user_profile}")
|
| 94 |
|
| 95 |
# 1. Formulate a search query to find up-to-date plans
|
| 96 |
|
|
|
|
| 97 |
# ------------ A) Capture today's date in a friendly format ------------
|
| 98 |
current_date = datetime.date.today().strftime("%B %d %Y") # e.g., "July 21 2025"
|
| 99 |
|