Pepguy commited on
Commit
14da163
·
verified ·
1 Parent(s): bf79375

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -31,7 +31,7 @@ LAMBDA_URL = os.getenv("LAMBDA_URL", "https://your-lambda-function-url")
31
  GEMINI_KEY = os.getenv("GEMINI_API_KEY", "")
32
  STORYLINE_SERVER_URL = os.getenv("STORYLINE_SERVER_URL", "https://your-storyline-server-url")
33
  FLUSH_INTERVAL = 30 # seconds between DB backups per user
34
- MAX_HISTORY_TURNS = 10 # Maximum conversation turns to keep in context
35
  MAX_MEMORY_MESSAGES = 90 # Maximum messages to keep in memory per user
36
  MEMORY_CLEANUP_TIMEOUT = 1800 # 30 minutes in seconds - remove inactive users
37
 
 
31
  GEMINI_KEY = os.getenv("GEMINI_API_KEY", "")
32
  STORYLINE_SERVER_URL = os.getenv("STORYLINE_SERVER_URL", "https://your-storyline-server-url")
33
  FLUSH_INTERVAL = 30 # seconds between DB backups per user
34
+ MAX_HISTORY_TURNS = 50 # 10 # Maximum conversation turns to keep in context
35
  MAX_MEMORY_MESSAGES = 90 # Maximum messages to keep in memory per user
36
  MEMORY_CLEANUP_TIMEOUT = 1800 # 30 minutes in seconds - remove inactive users
37