cesjavi commited on
Commit
1711e5e
·
1 Parent(s): d40bc1a

Fix: Added emergency model migration for decommissioned llama3-70b-8192 (Phase 9)

Browse files
Files changed (1) hide show
  1. backend/agents/groq_agent.py +1 -1
backend/agents/groq_agent.py CHANGED
@@ -24,7 +24,7 @@ class GroqAgent(BaseAgent):
24
  """
25
  def __init__(self, name: str, role: str, model: str = "llama-3.3-70b-versatile", system_prompt: str = None):
26
  # Auto-migrate decommissioned models
27
- if "llama-3.1-70b" in model:
28
  model = "llama-3.3-70b-versatile"
29
 
30
  super().__init__(name, role, model, system_prompt)
 
24
  """
25
  def __init__(self, name: str, role: str, model: str = "llama-3.3-70b-versatile", system_prompt: str = None):
26
  # Auto-migrate decommissioned models
27
+ if "llama-3.1-70b" in model or "llama3-70b-8192" in model:
28
  model = "llama-3.3-70b-versatile"
29
 
30
  super().__init__(name, role, model, system_prompt)