mirror of
https://github.com/aljazceru/chatgpt-telegram-bot.git
synced 2025-12-19 05:35:20 +01:00
increase MAX_HISTORY_SIZE to 15
This commit is contained in:
@@ -30,7 +30,7 @@ def main():
|
||||
'show_usage': os.environ.get('SHOW_USAGE', 'false').lower() == 'true',
|
||||
'stream': os.environ.get('STREAM', 'true').lower() == 'true',
|
||||
'proxy': os.environ.get('PROXY', None),
|
||||
'max_history_size': int(os.environ.get('MAX_HISTORY_SIZE', 10)),
|
||||
'max_history_size': int(os.environ.get('MAX_HISTORY_SIZE', 15)),
|
||||
'max_conversation_age_minutes': int(os.environ.get('MAX_CONVERSATION_AGE_MINUTES', 180)),
|
||||
'assistant_prompt': os.environ.get('ASSISTANT_PROMPT', 'You are a helpful assistant.'),
|
||||
'max_tokens': int(os.environ.get('MAX_TOKENS', 1200)),
|
||||
|
||||
Reference in New Issue
Block a user