Idealcom commited on
Commit
a4f6bb1
·
verified ·
1 Parent(s): 5c7f086

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -4
app.py CHANGED
@@ -35,7 +35,7 @@ def get_current_time_in_timezone(timezone: str) -> str:
35
 
36
 
37
  final_answer = FinalAnswerTool()
38
- model = InferenceClientModel(
39
  max_tokens=2096,
40
  temperature=0.5,
41
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
@@ -59,9 +59,7 @@ agent = CodeAgent(
59
  planning_interval=None,
60
  name=None,
61
  description=None,
62
- prompt_templates=prompt_templates, # Ajout de la virgule ici
63
- tools=[FinalAnswerTool(), ...] # Définition unique de tools
64
-
65
  )
66
 
67
 
 
35
 
36
 
37
  final_answer = FinalAnswerTool()
38
+ model = InferenceClientModel(
39
  max_tokens=2096,
40
  temperature=0.5,
41
  model_id='Qwen/Qwen2.5-Coder-32B-Instruct',
 
59
  planning_interval=None,
60
  name=None,
61
  description=None,
62
+ prompt_templates=prompt_templates # Pass system prompt to CodeAgent
 
 
63
  )
64
 
65