WIP: moving to services, refining matrix_service

This commit is contained in:
2025-05-03 01:56:55 +01:00
parent a22ec0a7da
commit fb578fbf40
9 changed files with 233 additions and 142 deletions

View File

@@ -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