Spaces:
Sleeping
Sleeping
Update agent.json
Browse files- agent.json +51 -51
agent.json
CHANGED
@@ -1,53 +1,53 @@
|
|
1 |
{
|
2 |
-
|
3 |
-
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
},
|
18 |
-
"
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
"
|
34 |
-
"
|
35 |
-
"
|
36 |
-
"
|
37 |
-
"
|
38 |
-
"
|
39 |
-
"
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
"pandas",
|
45 |
-
"itertools",
|
46 |
-
"math",
|
47 |
-
"statistics",
|
48 |
-
"queue",
|
49 |
-
"time",
|
50 |
-
"collections",
|
51 |
-
"re"
|
52 |
-
]
|
53 |
-
}
|
|
|
1 |
{
|
2 |
+
"tools": [
|
3 |
+
"web_search",
|
4 |
+
"visit_webpage",
|
5 |
+
"final_answer"
|
6 |
+
],
|
7 |
+
"model": {
|
8 |
+
"class": "HfApiModel",
|
9 |
+
"data": {
|
10 |
+
"max_tokens": 2096,
|
11 |
+
"temperature": 0.5,
|
12 |
+
"last_input_token_count": null,
|
13 |
+
"last_output_token_count": null,
|
14 |
+
"model_id": "deepseek-ai/DeepSeek-R1-Distill-Qwen-32B",
|
15 |
+
"custom_role_conversions": null
|
16 |
+
}
|
17 |
+
},
|
18 |
+
"prompt_templates": {
|
19 |
+
"system_prompt": "You are a health and lifestyle advisor specializing in the early detection and prevention of hypertension. Provide only the final, direct, and concise lifestyle advice based solely on the user's details. Do NOT include any internal reasoning, chain-of-thought, intermediate steps, or code snippets. Output exactly one final answer as plain text.",
|
20 |
+
"planning": {
|
21 |
+
"initial_facts": "List only the essential facts given in the task, the facts to look up, and the facts to derive, without any internal commentary.",
|
22 |
+
"initial_plan": "Provide a one-step high-level plan that directly leads to the final answer with no internal reasoning or code. End your plan with '<end_plan>'.",
|
23 |
+
"update_facts_pre_messages": "Update the list of facts based solely on the task and the previous input, using plain text without any internal commentary.",
|
24 |
+
"update_facts_post_messages": "Provide an updated list of facts using only plain text.",
|
25 |
+
"update_plan_pre_messages": "Provide an updated one-step high-level plan with no internal chain-of-thought or code.",
|
26 |
+
"update_plan_post_messages": "Provide an updated plan in one step, ending with '<end_plan>' and no additional commentary."
|
27 |
},
|
28 |
+
"managed_agent": {
|
29 |
+
"task": "You are a helpful agent named '{{name}}'. You have been submitted this task by your manager. --- Task: {{task}} --- Provide only the final direct answer in plain text using the `final_answer` tool. Do NOT include any internal reasoning, chain-of-thought, or code snippets.",
|
30 |
+
"report": "Here is the final answer from your managed agent '{{name}}':\n{{final_answer}}"
|
31 |
+
}
|
32 |
+
},
|
33 |
+
"max_steps": 6,
|
34 |
+
"verbosity_level": 1,
|
35 |
+
"grammar": null,
|
36 |
+
"planning_interval": null,
|
37 |
+
"name": null,
|
38 |
+
"description": null,
|
39 |
+
"authorized_imports": [
|
40 |
+
"unicodedata",
|
41 |
+
"stat",
|
42 |
+
"datetime",
|
43 |
+
"random",
|
44 |
+
"pandas",
|
45 |
+
"itertools",
|
46 |
+
"math",
|
47 |
+
"statistics",
|
48 |
+
"queue",
|
49 |
+
"time",
|
50 |
+
"collections",
|
51 |
+
"re"
|
52 |
+
]
|
53 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|