Optimizing admin interface for user domain, completing security views
This commit is contained in:
@@ -36,8 +36,6 @@ class Config(object):
|
||||
SECURITY_POST_LOGIN_VIEW = '/user/tenant_overview'
|
||||
SECURITY_RECOVERABLE = True
|
||||
SECURITY_EMAIL_SENDER = "eveai_super@flow-it.net"
|
||||
PERMANENT_SESSION_LIFETIME = timedelta(minutes=60)
|
||||
SESSION_REFRESH_EACH_REQUEST = True
|
||||
|
||||
# Ensure Flask-Security-Too is handling CSRF tokens when behind a proxy
|
||||
SECURITY_CSRF_PROTECT_MECHANISMS = ['session']
|
||||
@@ -70,9 +68,9 @@ class Config(object):
|
||||
CELERY_TIMEZONE = 'UTC'
|
||||
CELERY_ENABLE_UTC = True
|
||||
|
||||
# Chunk Definition
|
||||
MIN_CHUNK_SIZE = 2000
|
||||
MAX_CHUNK_SIZE = 3000
|
||||
# Chunk Definition, Embedding dependent
|
||||
O_TE3SMALL_MIN_CHUNK_SIZE = 2000
|
||||
O_TE3SMALL_MAX_CHUNK_SIZE = 3000
|
||||
|
||||
# LLM TEMPLATES
|
||||
GPT4_SUMMARY_TEMPLATE = """Write a concise summary of the text in the same language as the provided text.
|
||||
@@ -104,7 +102,8 @@ class Config(object):
|
||||
SESSION_TYPE = 'redis'
|
||||
SESSION_PERMANENT = False
|
||||
SESSION_USE_SIGNER = True
|
||||
SESSION_KEY_PREFIX = 'eveai_chat_'
|
||||
PERMANENT_SESSION_LIFETIME = timedelta(minutes=60)
|
||||
SESSION_REFRESH_EACH_REQUEST = True
|
||||
|
||||
|
||||
class DevConfig(Config):
|
||||
|
||||
Reference in New Issue
Block a user