Skip to content

Commit 0d9c484

Browse files
committed
update configurations
Signed-off-by: Keval Mahajan <[email protected]>
1 parent 54be6e7 commit 0d9c484

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

.env.example

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -954,6 +954,8 @@ LLMCHAT_SESSION_LOCK_TTL=30 # Seconds for lock expiry
954954
LLMCHAT_SESSION_LOCK_RETRIES=10 # How many times to poll while waiting
955955
LLMCHAT_SESSION_LOCK_WAIT=0.2 # Seconds between polls
956956

957+
LLMCHAT_CHAT_HISTORY_TTL=3600 # Seconds for chat history expiry
958+
LLMCHAT_CHAT_HISTORY_MAX_MESSAGES=50 # Maximum message history to store per user
957959

958960
#####################################
959961
# Azure OpenAI Configuration

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1275,13 +1275,14 @@ The LLM Chat MCP Client allows you to interact with MCP servers using conversati
12751275

12761276
**Redis Configurations:** For maintaining Chat Sessions in multi-worker environment
12771277

1278-
| Setting | Description | Default | Options |
1279-
| ----------------| --------------------------------------| ------- | ------- |
1280-
| `SESSION_TTL` | Seconds for active_session key TTL | `300` | int |
1281-
| `LOCK_TTL` | Seconds for lock expiry | `30` | int |
1282-
| `LOCK_RETRIES` | How many times to poll while waiting | `10` | int |
1283-
| `LOCK_WAIT` | Seconds between polls | `0.2` | float |
1284-
1278+
| Setting | Description | Default | Options |
1279+
| -------------------------------------| -------------------------------------------| ------- | ------- |
1280+
| `LLMCHAT_SESSION_SESSION_TTL` | Seconds for active_session key TTL | `300` | int |
1281+
| `LLMCHAT_SESSION_LOCK_TTL` | Seconds for lock expiry | `30` | int |
1282+
| `LLMCHAT_SESSION_LOCK_RETRIES` | How many times to poll while waiting | `10` | int |
1283+
| `LLMCHAT_SESSION_LOCK_WAIT` | Seconds between polls | `0.2` | float |
1284+
| `LLMCHAT_CHAT_HISTORY_TTL` | Seconds for chat history expiry | `0.2` | float |
1285+
| `LLMCHAT_CHAT_HISTORY_MAX_MESSAGES` | Maximum message history to store per user | `0.2` | float |
12851286

12861287
**Documentation:**
12871288
- [LLM Chat Guide](https://ibm.github.io/mcp-context-forge/using/clients/llm-chat) - Complete LLM Chat setup and provider configuration

0 commit comments

Comments
 (0)