Added interaction count tracking for sessions with Redis or in-memory fallback. Implemented conversation history replacement functionality to compact and update message history. The changes include: - New AtomicUsize counter in SessionManager for interaction tracking - increment_and_get_interaction_count method with Redis support - replace_conversation_history to update and compact message history - Maintains existing functionality while adding new features
808 B
808 B
| 1 | name | value |
|---|---|---|
| 2 | server_host | 0.0.0.0 |
| 3 | server_port | 8080 |
| 4 | sites_root | /tmp |
| 5 | llm-key | none |
| 6 | llm-url | http://localhost:8081 |
| 7 | llm-model | ../../../../data/llm/DeepSeek-R1-Distill-Qwen-1.5B-Q3_K_M.gguf |
| 8 | embedding-url | http://localhost:8082 |
| 9 | embedding-model | ../../../../data/llm/bge-small-en-v1.5-f32.gguf |
| 10 | llm-server | false |
| 11 | llm-server-path | botserver-stack/bin/llm/build/bin |
| 12 | llm-server-host | 0.0.0.0 |
| 13 | llm-server-port | 8081 |
| 14 | llm-server-gpu-layers | 0 |
| 15 | llm-server-n-moe | 0 |
| 16 | llm-server-ctx-size | 2048 |
| 17 | llm-server-n-predict | 512 |
| 18 | llm-server-parallel | 6 |
| 19 | llm-server-cont-batching | true |
| 20 | llm-server-mlock | false |
| 21 | llm-server-no-mmap | false |
| 22 | email-from | from@domain.com |
| 23 | email-server | mail.domain.com |
| 24 | email-port | 587 |
| 25 | email-user | user@domain.com |
| 26 | email-pass | |
| 27 | custom-server | localhost |
| 28 | custom-port | 5432 |
| 29 | custom-database | mycustomdb |
| 30 | custom-username | |
| 31 | custom-password |