Repository navigation
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.