benfls commited on
Commit
3c7f905
·
1 Parent(s): cc2350e

modif param temp

Browse files
Files changed (1) hide show
  1. agent.py +1 -4
agent.py CHANGED
@@ -39,10 +39,7 @@ class LangGraphAgent:
39
  repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
40
  huggingfacehub_api_token=config.HUGGINGFACE_API_KEY,
41
  task="text-generation",
42
- model_kwargs={
43
- "temperature": config.TEMPERATURE,
44
- "max_tokens": config.MAX_TOKENS
45
- }
46
  )
47
 
48
  # Charger les outils
 
39
  repo_id="Qwen/Qwen2.5-Coder-32B-Instruct",
40
  huggingfacehub_api_token=config.HUGGINGFACE_API_KEY,
41
  task="text-generation",
42
+ temperature = config.TEMPERATURE
 
 
 
43
  )
44
 
45
  # Charger les outils