Kus669 commited on
Commit
2e643a2
·
verified ·
1 Parent(s): c92e353

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -30,7 +30,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
30
  final_answer = FinalAnswerTool()
31
 
32
  model = HfApiModel(
33
- max_tokens=2096,
34
  temperature=0.5,
35
  model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
36
  )
@@ -50,7 +50,7 @@ agent = CodeAgent(
50
  my_custom_tool,
51
  get_current_time_in_timezone,
52
  ],
53
- max_steps=6,
54
  verbosity_level=1,
55
  prompt_templates=prompt_templates,
56
  )
 
30
  final_answer = FinalAnswerTool()
31
 
32
  model = HfApiModel(
33
+ max_tokens=4096,
34
  temperature=0.5,
35
  model_id="Qwen/Qwen2.5-Coder-32B-Instruct",
36
  )
 
50
  my_custom_tool,
51
  get_current_time_in_timezone,
52
  ],
53
+ max_steps=10,
54
  verbosity_level=1,
55
  prompt_templates=prompt_templates,
56
  )