merveyvz commited on
Commit
80af909
·
verified ·
1 Parent(s): 6f80307

update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -70,7 +70,7 @@ final_answer = FinalAnswerTool()
70
  model = HfApiModel(
71
  max_tokens=2096,
72
  temperature=0.5,
73
- model_id='deepseek-ai/DeepSeek-R1-Distill-Qwen-32B',# it is possible that this model may be overloaded Qwen/Qwen2.5-Coder-32B-Instruct
74
  custom_role_conversions=None,
75
  )
76
 
@@ -83,7 +83,7 @@ with open("prompts.yaml", 'r') as stream:
83
 
84
  agent = CodeAgent(
85
  model=model,
86
- tools=[final_answer, get_current_time_in_timezone, ask_magic_8_ball], ## add your tools here (don't remove final answer)
87
  max_steps=6,
88
  verbosity_level=1,
89
  grammar=None,
 
70
  model = HfApiModel(
71
  max_tokens=2096,
72
  temperature=0.5,
73
+ model_id='Qwen/Qwen2.5-Coder-32B-Instruct',# it is possible that this model may be overloaded
74
  custom_role_conversions=None,
75
  )
76
 
 
83
 
84
  agent = CodeAgent(
85
  model=model,
86
+ tools=[final_answer, ask_magic_8_ball], ## add your tools here (don't remove final answer)
87
  max_steps=6,
88
  verbosity_level=1,
89
  grammar=None,