Spaces:
Sleeping
Sleeping
Shourya Angrish commited on
Commit ·
aaf9250
1
Parent(s): f6b94d0
test
Browse files
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
|
| 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 |
|