Update agent.py
Browse files
agent.py
CHANGED
@@ -127,7 +127,7 @@ YOUR FINAL ANSWER should be a number OR as few words as possible OR a comma sepa
|
|
127 |
If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
|
128 |
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise.
|
129 |
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.
|
130 |
-
Your answer should only start with "FINAL ANSWER: ", then follows with the answer."""
|
131 |
|
132 |
# System message
|
133 |
sys_msg = SystemMessage(content=system_prompt)
|
@@ -188,7 +188,7 @@ def build_graph(provider: str = "huggingface"):
|
|
188 |
repetition_penalty=1.03,
|
189 |
temperature=0,
|
190 |
),
|
191 |
-
verbose=
|
192 |
)
|
193 |
|
194 |
else:
|
|
|
127 |
If you are asked for a number, don't use comma to write your number neither use units such as $ or percent sign unless specified otherwise.
|
128 |
If you are asked for a string, don't use articles, neither abbreviations (e.g. for cities), and write the digits in plain text unless specified otherwise.
|
129 |
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.
|
130 |
+
Your answer should only start with "FINAL ANSWER: ", then follows with the answer."""
|
131 |
|
132 |
# System message
|
133 |
sys_msg = SystemMessage(content=system_prompt)
|
|
|
188 |
repetition_penalty=1.03,
|
189 |
temperature=0,
|
190 |
),
|
191 |
+
verbose=False,
|
192 |
)
|
193 |
|
194 |
else:
|