* feat(migrations): clean up empty conversations from db
* fix(tests): better test coverage, fix bug with sessions
* feat: better migration
* fix: stop test server after running tests
* fix: migration code
* fix: refactor to take into account large size of session collection
* Add healthcheck route
* Add prom client with basic metrics
* wip: serve metrics on a different port
* exclude server from tsconfig
* latest
* refacto(all): use class & singleton
* refacto(all): use class & singleton
* refacto(all): add request logs
* Make all the env vars dynamic (#1092)
* Add truncate to task model (#1090)
* retry text area height (#1091)
* Make all the env vars dynamic
* only check for db at runtime
* remove secret from build step
* improve dockerfile
* Wrap db in singleton
* add .env.local to dockerignore
* changes to dockerfile
* lint
* aborted generations
* move collections build check
* Use a single dockerfile
* lint
* fixes
* lint
* don't return db during building
* remove dev
---------
Co-authored-by: Victor Muštar <victor.mustar@gmail.com>
* refacto(all): update default metrics port
* fix recursion error
* add version check
* revert vite preview
* Move request logs to debug level and add an env var to filter by log level in d…
* Add limits on messages, conversations, assistants and messages/minute
* Add max message length limit
* remove rate limits from public config
* add `RATE_LIMITS` to secrets
* Add `MESSAGES_BEFORE_LOGIN` to secrets
* replace `RATE_LIMITS` by `USAGE_LIMITS`
* replace `RateLimits` by `usageLimits` and only get nEvents if needed
* rename schema too
* replace \r\n by \n