Move TG LLM classifier to Go

This commit is contained in:
Grendgi
2026-06-04 15:48:25 +03:00
parent 5cda374fb1
commit 37d27308c2
10 changed files with 594 additions and 4 deletions

View File

@@ -41,6 +41,7 @@ LLM_MODEL=qwen2.5-14b
LLM_TIMEOUT_SECONDS=120
LLM_MAX_TOKENS=600
LLM_MIN_TEXT_LENGTH=20
LLM_CLASSIFIER_OWNER=python
# How often the background classifier wakes up and how many messages it
# processes per tick. With 5/20s ≈ 900 messages/hour at ~3-6s per call.
LLM_CLASSIFY_INTERVAL_SECONDS=20