Skip to content

v2026.05.17

Choose a tag to compare

@amtiYo amtiYo released this 17 May 19:43
· 99 commits to main since this release

🧾 v2026.05.17 β€” AI Audit Logs and Grok Model

✨ New Features

  • 🧾 AI Audit Log β€” every OpenRouter evaluation now writes the exact request body and raw response to logs/ai_audit.jsonl
  • 🧹 7-Day Audit Retention β€” audit records older than 7 days are pruned by created_at on each write
  • πŸ€– Grok 4.3 Default Model β€” the default OpenRouter model is now x-ai/grok-4.3
  • 🧡 Context-Friendly Prompting β€” the quote prompt now explicitly asks for the minimal dialogue context when the punchline depends on setup or a reply chain

πŸ”§ Improvements

  • πŸ†” The AI contract now clearly says to use internal id values for primary_id, context_ids, and scores, while message_id remains Telegram metadata only
  • 🐳 Docker Compose now mounts /app/logs so file logs survive container rebuilds
  • 🧼 .dockerignore keeps .env, local logs, .venv, .git, and collaborator files out of Docker build context
  • πŸ”’ AI audit records do not include authorization headers or API keys, and are written to files instead of Docker stdout/stderr

πŸ—ƒοΈ Database Changes

No database migration required.

βœ… Validation

  • .venv/bin/python -m pytest β€” 44 passed
  • .venv/bin/alembic heads β€” 20260513_01 (head)
  • git diff --check β€” clean
  • WS04 docker compose config β€” clean for the existing quoto stack
  • OpenRouter public model list confirms x-ai/grok-4.3

Full documentation: README.md | README.ru.md