Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
agent.py
CHANGED
|
@@ -48,8 +48,7 @@ def build_agent():
|
|
| 48 |
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 49 |
Your answer should only start with "FINAL ANSWER: ", then follows with the answer.
|
| 50 |
"""
|
| 51 |
-
context =
|
| 52 |
-
context.append({"role": "system", "content": sys_msg})
|
| 53 |
|
| 54 |
return context + state["messages"]
|
| 55 |
|
|
|
|
| 48 |
If you are asked for a comma separated list, apply the above rules depending of whether the element to be put in the list is a number or a string.
|
| 49 |
Your answer should only start with "FINAL ANSWER: ", then follows with the answer.
|
| 50 |
"""
|
| 51 |
+
context = {"role": "system", "content": sys_msg}
|
|
|
|
| 52 |
|
| 53 |
return context + state["messages"]
|
| 54 |
|