Spaces:
Sleeping
Sleeping
Pycrolis
commited on
Commit
·
9c4e9e4
1
Parent(s):
7e3b825
fix(agent): refine response restrictions in prompt instructions
Browse files- ShrewdAgent.py +4 -2
ShrewdAgent.py
CHANGED
@@ -41,8 +41,10 @@ class ShrewdAgent:
|
|
41 |
- Justify your choice of tool(s) at each step.
|
42 |
- If multiple interpretations are possible, outline them and explain your reasoning for selecting one.
|
43 |
- If the answer requires external data or inference, retrieve or deduce it via the available tools.
|
44 |
-
|
45 |
-
Important: Your final output
|
|
|
|
|
46 |
|
47 |
def __init__(self):
|
48 |
self.tools = [
|
|
|
41 |
- Justify your choice of tool(s) at each step.
|
42 |
- If multiple interpretations are possible, outline them and explain your reasoning for selecting one.
|
43 |
- If the answer requires external data or inference, retrieve or deduce it via the available tools.
|
44 |
+
|
45 |
+
Important: Your final output MUST be only a number or a word with no additional text or explanation,
|
46 |
+
unless the response format is explicitly specified in the question. Do not include reasoning,
|
47 |
+
commentary, or any other content beyond the requested answer.""")
|
48 |
|
49 |
def __init__(self):
|
50 |
self.tools = [
|