Commit History
-
Add limits on API endpoints (#886)
Unverified signature* 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 \n537b6f5
-
✨ Add stats on conversations (#828)
Eliott C +1: nsarrazin Unverified signature* ✨ Add stats on conversations * 🩹 Fix conversation stats compute * ⚡️ Slightly better index * 🔊 * 🩹 Some fixes * 🐛 Fix aggregation query * 🐛 Fix $merge stage of query * 🐛 Fix query on sessionId * ✨ Compute weekly/monthly unique users * 🩹 Final tweaks * ⚡️ Split aggregations for better perf No need to recompute DAUs / WAUs and so on * ♻️ Deprecate PARQUET_EXPORT_SECRET & fix sec vuln * Add ADMIN_API_SECRET to CD action --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>634bd69
-
[Assistnats] improve reporting (#797)
MishigUnverified signature* [Assistnats] improve reporting * typo * make it more general * typo * update prodEnv script * Update scripts/updateProdEnv.tse9f817c
-
Standardize HF_ACCESS_TOKEN -> HF_TOKEN (#610)
Unverified signature* Standardize HF_ACCESS_TOKEN -> HF_TOKEN * Replace HF_ACCESS_TOKEN by HF_TOKEN in .env * Add legacy support for HF_ACCESS_TOKEN --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>3cbea34
-
Misc julien tweaks (#525)
Unverified signature* Fix formatting (whitespace) * typo * i think we can remove this now39fde06
-
Break up SECRET_CONFIG into individual secrets (#523)
Unverified signature1ae93cf
-
fix error check in scripts for .env
a3b5894 -
Update CI scripts for dotenv management (#508)
Unverified signature* Replace DOTENV python script by TS script * Add script to update .env.local locally * add back secrets in actions flowfac3250