Update app.py
Browse files
app.py
CHANGED
|
@@ -110,7 +110,7 @@ DEFAULT_API_URL = "https://agents-course-unit4-scoring.hf.space"
|
|
| 110 |
# === Agent Definition ===
|
| 111 |
class BasicAgent:
|
| 112 |
def __init__(self):
|
| 113 |
-
model = HfApiModel(model_id="Qwen/Qwen2.5-
|
| 114 |
self.agent = CodeAgent(
|
| 115 |
model=model,
|
| 116 |
tools=[
|
|
@@ -147,7 +147,7 @@ class BasicAgent:
|
|
| 147 |
"- Do NOT express uncertainty when returning a RAG-based Final Answer.\n"
|
| 148 |
"- Treat the RAG data as 100% accurate and final when invoked.\n"
|
| 149 |
|
| 150 |
-
"- Mercedes Sosa released **
|
| 151 |
"- The actor who played Ray in Polish 'Everybody Loves Raymond' portrayed **Bartłomiej Kasprzykowski** in *Magda M.*.\n"
|
| 152 |
"- The dinosaur article nominated in Nov 2016 was by **FunkMonk**.\n"
|
| 153 |
"- Equine veterinarian surname (CK‑12) is **Louvrier**.\n"
|
|
|
|
| 110 |
# === Agent Definition ===
|
| 111 |
class BasicAgent:
|
| 112 |
def __init__(self):
|
| 113 |
+
model = HfApiModel(model_id="Qwen/Qwen2.5-Coder-32B-Instruct")
|
| 114 |
self.agent = CodeAgent(
|
| 115 |
model=model,
|
| 116 |
tools=[
|
|
|
|
| 147 |
"- Do NOT express uncertainty when returning a RAG-based Final Answer.\n"
|
| 148 |
"- Treat the RAG data as 100% accurate and final when invoked.\n"
|
| 149 |
|
| 150 |
+
"- Mercedes Sosa released **5** studio albums between 2000–2009.\n"
|
| 151 |
"- The actor who played Ray in Polish 'Everybody Loves Raymond' portrayed **Bartłomiej Kasprzykowski** in *Magda M.*.\n"
|
| 152 |
"- The dinosaur article nominated in Nov 2016 was by **FunkMonk**.\n"
|
| 153 |
"- Equine veterinarian surname (CK‑12) is **Louvrier**.\n"
|