Spaces:
Running

axeronis commited on
Commit
36d26e6
·
1 Parent(s): 0152a91

fix(backend): downgrade Groq model to 'llama-3.1-8b-instant' to avoid TPD token limits

Browse files
Files changed (1) hide show
  1. backend/app/services/llm_client.py +1 -1
backend/app/services/llm_client.py CHANGED
@@ -37,7 +37,7 @@ class GroqLLMClient:
37
  api_key=api_key,
38
  base_url="https://api.groq.com/openai/v1"
39
  )
40
- self.model = "llama-3.3-70b-versatile" # Updated to latest stable model
41
  self.ai_queue = get_ai_queue() # Rate limiting queue
42
 
43
  logger.info(f"✅ Groq LLM client initialized (model: {self.model})")
 
37
  api_key=api_key,
38
  base_url="https://api.groq.com/openai/v1"
39
  )
40
+ self.model = "llama-3.1-8b-instant" # Lighter model with higher limits to avoid 429 errors
41
  self.ai_queue = get_ai_queue() # Rate limiting queue
42
 
43
  logger.info(f"✅ Groq LLM client initialized (model: {self.model})")