Spaces:
Running
Running
Commit Β·
cfb4ff2
1
Parent(s): f2dfbf9
Upgrade decommissioned LLM model to llama-3.3
Browse files- app/agent/nodes.py +4 -4
app/agent/nodes.py
CHANGED
|
@@ -34,10 +34,10 @@ except ImportError:
|
|
| 34 |
|
| 35 |
# ββ LLM configuration ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 36 |
|
| 37 |
-
LLM_MODEL = os.getenv("LLM_MODEL", "llama-3.
|
| 38 |
-
# Guard against
|
| 39 |
-
if "grok" in LLM_MODEL.lower():
|
| 40 |
-
LLM_MODEL = "llama-3.
|
| 41 |
|
| 42 |
LLM_TEMPERATURE = float(os.getenv("LLM_TEMPERATURE", "0.1"))
|
| 43 |
|
|
|
|
| 34 |
|
| 35 |
# ββ LLM configuration ββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 36 |
|
| 37 |
+
LLM_MODEL = os.getenv("LLM_MODEL", "llama-3.3-70b-versatile")
|
| 38 |
+
# Guard against decommissioned models or typos
|
| 39 |
+
if "llama-3.1-70b-versatile" in LLM_MODEL.lower() or "grok" in LLM_MODEL.lower():
|
| 40 |
+
LLM_MODEL = "llama-3.3-70b-versatile"
|
| 41 |
|
| 42 |
LLM_TEMPERATURE = float(os.getenv("LLM_TEMPERATURE", "0.1"))
|
| 43 |
|