First_agent_template / agent.json
MasterOfHugs's picture
Update agent.json
cec91fb verified
{
"tools": [
"web_search",
"visit_webpage",
"final_answer"
],
"model": {
"class": "HfApiModel",
"data": {
"model_id": "bigcode/starcoder",
"max_tokens": 2048,
"temperature": 0.5,
"last_input_token_count": null,
"last_output_token_count": null,
"custom_role_conversions": null
}
},
"prompt_templates": {
"system_prompt": "system_prompt.yaml",
"planning": {
"initial_facts": "List all known facts before starting the task.",
"initial_plan": "Build a step-by-step plan using the available tools.",
"update_facts_pre_messages": "Update facts from conversation history.",
"update_facts_post_messages": "Refine facts after reviewing previous messages.",
"update_plan_pre_messages": "Update plan based on previous attempts.",
"update_plan_post_messages": "Refine plan considering latest facts."
},
"managed_agent": {
"task": "You're a helpful agent named '{{name}}'. Task: {{task}}",
"report": "Final answer from '{{name}}': {{final_answer}}"
}
},
"max_steps": 6,
"verbosity_level": 1
}