Spaces:
Sleeping
Sleeping
Update BasicAgent.py
Browse files- BasicAgent.py +1 -1
BasicAgent.py
CHANGED
@@ -13,7 +13,7 @@ from smolagents import (
|
|
13 |
class newAgent:
|
14 |
"""Adapts smolagents.CodeAgent to the HF course template API."""
|
15 |
def __init__(self):
|
16 |
-
model_id = "
|
17 |
hf_token = os.getenv("HUGGINGFACEHUB_API_TOKEN") # read real secret
|
18 |
if not hf_token:
|
19 |
raise RuntimeError("HUGGINGFACEHUB_API_TOKEN not set in Space secrets")
|
|
|
13 |
class newAgent:
|
14 |
"""Adapts smolagents.CodeAgent to the HF course template API."""
|
15 |
def __init__(self):
|
16 |
+
model_id = "Qwen/Qwen2.5-Coder-32B-Instruct" # correct repo name
|
17 |
hf_token = os.getenv("HUGGINGFACEHUB_API_TOKEN") # read real secret
|
18 |
if not hf_token:
|
19 |
raise RuntimeError("HUGGINGFACEHUB_API_TOKEN not set in Space secrets")
|