Shourya Angrish commited on
Commit
aaf9250
·
1 Parent(s): f6b94d0
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -127,8 +127,8 @@ Use the available tools when needed."""
127
  max_steps=5
128
  )
129
 
130
- # Set system prompt via agent's system_prompt attribute
131
- agent.system_prompt = system_prompt
132
 
133
  return agent
134
 
 
127
  max_steps=5
128
  )
129
 
130
+ # Set system prompt via agent's prompt_templates dictionary
131
+ agent.prompt_templates["system_prompt"] = system_prompt
132
 
133
  return agent
134