Miguel Martinez commited on
Commit
0a91061
·
verified ·
1 Parent(s): 44d0f33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -77,6 +77,7 @@ image_generation_tool = load_tool("agents-course/text-to-image", trust_remote_co
77
  # Load prompt templates
78
  with open("prompts.yaml", 'r') as stream:
79
  prompt_templates = yaml.safe_load(stream)
 
80
 
81
  # Build the agent
82
  agent = CodeAgent(
 
77
  # Load prompt templates
78
  with open("prompts.yaml", 'r') as stream:
79
  prompt_templates = yaml.safe_load(stream)
80
+ prompt_templates["system_prompt"] = prompt_templates["system_prompt"].replace("{{TODAY}}", TODAY)
81
 
82
  # Build the agent
83
  agent = CodeAgent(