chat-ui/scripts
Nathan Sarrazin 537b6f5a78
Add limits on API endpoints (#886)
* 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
2024-03-06 12:03:30 +01:00
..
populate.ts Add a simple populate script (#880) 2024-02-29 13:21:54 +01:00
updateLocalEnv.ts fix error check in scripts for .env 2023-10-13 17:11:57 +02:00
updateProdEnv.ts Add limits on API endpoints (#886) 2024-03-06 12:03:30 +01:00