Skip to content

Release 0.2

Choose a tag to compare

@iu2frl iu2frl released this 20 Aug 18:01
· 12 commits to main since this release

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 bot user.
  • Added safer Telegram HTML handling and formula-output restrictions.

Reliability

  • Added a Gemini operation lock to prevent reload/query race conditions.
  • Added /healthz and /readyz health 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 /reset to 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 Jinja2 dependency 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.