Skip to content

Commit e35ea91

Browse files
committed
Correction de la valeur par défaut de INACTIVITY_TIMEOUT_MINUTES dans .env.example et mise à jour de la documentation dans README.md
1 parent 8d902a1 commit e35ea91

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.env.example

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ NB_MESSAGES_HISTORY=10
1414

1515
# Inactivity timeout: How long (in minutes) before resetting channel memory due to inactivity
1616
# Example: INACTIVITY_TIMEOUT_MINUTES=30 means 30 minutes of no bot activity resets the memory
17-
# Example: INACTIVITY_TIMEOUT_MINUTES=0 means infinite memory (never resets, WARNING: may use more RAM over time)
18-
INACTIVITY_TIMEOUT_MINUTES=30
17+
# Example: INACTIVITY_TIMEOUT_MINUTES=0 means infinite memory (never resets, WARNING: may use more RAM if HISTORY_LIMIT and NB_MESSAGES_HISTORY are high)
18+
INACTIVITY_TIMEOUT_MINUTES=0
1919

2020
# URL of the Ollama API. This should match the URL of the Ollama server you are running.
2121
# default is http://localhost:11434

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ Before you begin, ensure you have the following installed:
7474
- `HISTORY_LIMIT`: The number of bot conversation pairs to keep in memory (default: 10).
7575
- `USE_HISTORY_CONVERSATION`: Whether to enable channel message history tracking (default: true).
7676
- `NB_MESSAGES_HISTORY`: Number of recent channel messages to keep for context (default: 10).
77-
- `INACTIVITY_TIMEOUT_MINUTES`: Minutes before resetting channel memory due to inactivity(default: 30).
77+
- `INACTIVITY_TIMEOUT_MINUTES`: Minutes before resetting channel memory due to inactivity(default: 0).
7878
- `OLLAMA_API_URL`: The URL of the Ollama API (default: "http://localhost:11434").
7979
- `OLLAMA_MODEL`: The name of the model to use with Ollama (check available models with `ollama list`).
8080
- `BOT_CONTEXT`: The context for the bot when generating responses.

0 commit comments

Comments
 (0)