Spaces:
Running

axeronis commited on
Commit
9d245d7
·
1 Parent(s): 36d26e6

fix(config): reduce MAX_CONTEXT_MESSAGES to 10 to fit Groq 8b TPM limit (6000)

Browse files
Files changed (1) hide show
  1. backend/app/core/config.py +1 -1
backend/app/core/config.py CHANGED
@@ -61,7 +61,7 @@ class Settings(BaseSettings):
61
  EVOLUTION_API_KEY: str = "your-secret-key"
62
 
63
  # AI Settings
64
- MAX_CONTEXT_MESSAGES: int = 50 # Increased from 20 to capture full conversation context
65
  TEMPERATURE: float = 0.7
66
  MAX_TOKENS: int = 1024
67
 
 
61
  EVOLUTION_API_KEY: str = "your-secret-key"
62
 
63
  # AI Settings
64
+ MAX_CONTEXT_MESSAGES: int = 10 # Reduced to 10 to fit Groq 8b TPM limit (6000)
65
  TEMPERATURE: float = 0.7
66
  MAX_TOKENS: int = 1024
67