WIP: moving to services, refining matrix_service
This commit is contained in:
10
.env.example
10
.env.example
@@ -2,9 +2,13 @@
|
||||
LOG_LEVEL=INFO
|
||||
|
||||
# Matrix Configuration
|
||||
HOMESERVER_URL = "https://matrix.org"
|
||||
USER_ID = "@botbot_user:matrix.org"
|
||||
PASSWORD = "botbot_password"
|
||||
MATRIX_HOMESERVER_URL = "https://matrix.org"
|
||||
MATRIX_USER_ID = "@botbot_user:matrix.org"
|
||||
MATRIX_PASSWORD = "botbot_password"
|
||||
MATRIX_LOGIN_TRIES = 5 # Number of login attempts before giving up, default is 5
|
||||
MATRIX_LOGIN_DELAY_INCREMENT = 5 # Delay increment,in seconds, between login attempts, default is 5
|
||||
AI_HANDLER_URL = "http://ai_service:8000"
|
||||
|
||||
# OpenAI API Key
|
||||
OPENAI_API_KEY=your_openai_api_key_here
|
||||
AI_HANDLER_TOKEN=common_token_here
|
||||
|
||||
Reference in New Issue
Block a user