optionEdge commited on
Commit
968a3d4
·
verified ·
1 Parent(s): 7ba85e7

Update BasicAgent.py

Browse files
Files changed (1) hide show
  1. BasicAgent.py +1 -1
BasicAgent.py CHANGED
@@ -19,7 +19,7 @@ from smolagents import (
19
  class newAgent:
20
  """Adapts smolagents.CodeAgent to the HF course template API."""
21
  def __init__(self):
22
- model_id = "Qwen2.5-Coder-32B-Instruct" # correct repo name
23
  hf_token = os.getenv("HUGGINGFACEHUB_API_TOKEN") # read real secret
24
  if not hf_token:
25
  raise RuntimeError("HUGGINGFACEHUB_API_TOKEN not set in Space secrets")
 
19
  class newAgent:
20
  """Adapts smolagents.CodeAgent to the HF course template API."""
21
  def __init__(self):
22
+ model_id = "Qwen/Qwen2.5-Coder-32B-Instruct" # correct repo name
23
  hf_token = os.getenv("HUGGINGFACEHUB_API_TOKEN") # read real secret
24
  if not hf_token:
25
  raise RuntimeError("HUGGINGFACEHUB_API_TOKEN not set in Space secrets")