iQuentin commited on
Commit
86fe827
·
verified ·
1 Parent(s): 08db7cb
Files changed (1) hide show
  1. agent.py +2 -2
agent.py CHANGED
@@ -44,7 +44,7 @@ class QAgent:
44
  #
45
  # self.model = HfApiModel(
46
  # model_id=model_id or "Qwen/Qwen2.5-Coder-32B-Instruct", # précédemment : or "meta-llama/Llama-3-70B-Instruct",
47
- # token=api_key
48
  # temperature=temperature
49
  # )
50
  # el
@@ -61,7 +61,7 @@ class QAgent:
61
  model_id=model_id or "Qwen/Qwen2.5-Coder-32B-Instruct", # précédemment : or "meta-llama/Llama-3-70B-Instruct",
62
  provider=provider or "nebius", # or "hf-inference",
63
  token=api_key,
64
- timeout=timeout or 120
65
  temperature=temperature
66
  )
67
  elif model_type == "OpenAIServerModel":
 
44
  #
45
  # self.model = HfApiModel(
46
  # model_id=model_id or "Qwen/Qwen2.5-Coder-32B-Instruct", # précédemment : or "meta-llama/Llama-3-70B-Instruct",
47
+ # token=api_key,
48
  # temperature=temperature
49
  # )
50
  # el
 
61
  model_id=model_id or "Qwen/Qwen2.5-Coder-32B-Instruct", # précédemment : or "meta-llama/Llama-3-70B-Instruct",
62
  provider=provider or "nebius", # or "hf-inference",
63
  token=api_key,
64
+ timeout=timeout or 120,
65
  temperature=temperature
66
  )
67
  elif model_type == "OpenAIServerModel":