Repository navigation
Releases
Releases · iu2frl/Telegram_GeminiAI_RAG_Bot
Release 0.2.1
Release 0.2
Security
- Added prompt-injection protection with sanitized Jinja2 prompts.
- Added per-user request and token rate limiting with SQLite persistence.
- Removed secrets from Docker images and added
.dockerignore. - Container now runs as a non-root
botuser. - Added safer Telegram HTML handling and formula-output restrictions.
Reliability
- Added a Gemini operation lock to prevent reload/query race conditions.
- Added
/healthzand/readyzhealth endpoints. - Added Docker healthcheck configuration.
- Added repository remote commit detection to skip unnecessary pulls.
- Added Gemini uploaded-file expiration tracking with proactive refresh.
User experience
- Added isolated per-user conversation context.
- Supports follow-up questions using recent history.
- Added
/resetto clear a user’s context. - Context is bounded to six turns or 6,000 characters.
Documentation and configuration
- Added Docker manual-build and prebuilt-image examples.
- Documented all environment variables and defaults.
- Added health server configuration documentation.
- Added the
Jinja2dependency and updated GitPython.
Testing
- Added prompt security tests.
- Added rate limiter tests.
- Added health endpoint tests.
- Added repository/expiration tests.
- Added per-user context isolation tests.
- Expanded Telegram HTML and state tests.
Release 0.1.3
- Updating dependencies to resolve known vulnerabilities
Release 0.1.2
- Updating to latest Gemini models
- Updating dependencies to resolve known vulnerabilities
Release 0.1.1
Release 0.1.0
Release 0.0.5
Release 0.0.4
- Minor linting and exceptions management
First public release
First release of the Telegram RAG bot which allows searching documents using Telegram chat