github-actions[bot] commited on
Commit
2134354
·
1 Parent(s): a96fcce

🤖 Auto-deploy from GitHub (push) - 33f4e2b - 2025-08-13 23:22:06 UTC

Browse files
shared/src/fitness_core/agents/fitness_agent.py CHANGED
@@ -117,8 +117,12 @@ class FitnessAgent(Agent):
117
 
118
  def _build_system_prompt(self, tool_instructions: str) -> str:
119
  """Build the system prompt including user profile context."""
 
 
120
  base_prompt = f"""You are a professional fitness and nutrition assistant with expertise in working with users to create a personalized fitness plan.
121
 
 
 
122
  You create personalized plans by iteratively creating plans and asking the user for feedback.
123
 
124
  Create the first plan as soon as the user asks for a fitness plan, and then iterate on it based on their feedback.
 
117
 
118
  def _build_system_prompt(self, tool_instructions: str) -> str:
119
  """Build the system prompt including user profile context."""
120
+ current_datetime = datetime.now().strftime("%Y-%m-%d %H:%M:%S")
121
+
122
  base_prompt = f"""You are a professional fitness and nutrition assistant with expertise in working with users to create a personalized fitness plan.
123
 
124
+ Current date and time: {current_datetime}
125
+
126
  You create personalized plans by iteratively creating plans and asking the user for feedback.
127
 
128
  Create the first plan as soon as the user asks for a fitness plan, and then iterate on it based on their feedback.