SergeyO7 commited on
Commit
ea87167
·
verified ·
1 Parent(s): 20fc265

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -448,7 +448,7 @@ class MagAgent:
448
  """Constructs task-specific prompts using templates"""
449
  system_template = self.prompt_templates["system_prompt"]["template"]
450
  managed_agent_template = self.prompt_templates["managed_agent"]["template"].format(
451
- task_context=f"Task ID: {task_id}\nQuestion: {question}\nDate: {datetime.now().strftime('%Y-%m-%d')}",
452
  question_analysis=question,
453
  subtasks=self._generate_subtasks(question),
454
  validation_rules=self._get_validation_rules()
 
448
  """Constructs task-specific prompts using templates"""
449
  system_template = self.prompt_templates["system_prompt"]["template"]
450
  managed_agent_template = self.prompt_templates["managed_agent"]["template"].format(
451
+ task=f"Task ID: {task_id}\nQuestion: {question}\nDate: {datetime.now().strftime('%Y-%m-%d')}",
452
  question_analysis=question,
453
  subtasks=self._generate_subtasks(question),
454
  validation_rules=self._get_validation_rules()