File size: 897 Bytes
075dd62
eb1d493
c34da8b
eb1d493
 
 
 
 
c34da8b
eb1d493
 
 
 
 
c34da8b
 
 
 
eb1d493
c34da8b
eb1d493
 
c34da8b
eb1d493
 
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
{
  "tools": [
    "get_time",
    "final_answer"
  ],
  "model": {
    "class": "HfApiModel",
    "data": {
      "max_tokens": 512,
      "temperature": 0.5,
      "model_id": "Qwen/Qwen2.5-Coder-32B-Instruct"
    }
  },
  "prompt_templates": {
    "system_prompt": "You are a helpful assistant who can answer questions by calling the get_time tool.\n\nWhen you receive a question about the time in a specific timezone (like America/New_York), extract the timezone string and call get_time(timezone_str=\"...\"). Then return the answer using final_answer().\n\nIf the question is unrelated, respond appropriately.\n\nUse the format:\nThought: ...\nCode:\n```py\n# code here\n```\n<end_code>",
    "planning": {
      "initial_facts": "You can call get_time(timezone_str) to get current time in a timezone."
    }
  },
  "max_steps": 3,
  "authorized_imports": [
    "datetime",
    "pytz"
  ]
}