Spaces:
Running
Running
Commit History
-
Move vars to dynamic, add metrics (#1085)
Unverified signature* 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 …98b1c51
-
Deploy HuggingChat changes manually only (#993)
Unverified signature7d0668d -
Use proper semver for major minor & patch releases in CI/CD (#991)
Unverified signature0676b38 -
Use raw for versioning (#990)
Unverified signature6681691 -
Make sure CI/CD is the same for no DB image (#989)
Unverified signature* Make sure CI/CD is the same for no DB image * get package versionff05f84 -
Publish docker images based on package.json version (#988)
Unverified signature* Publish docker images based on package.json version * fix build imageebac27c
-
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
-
Add missing prod config for report assistants (#799)
MishigUnverified signature38362bd
-
Remove quotes around build args
Unverified signaturec01d7bc -
fix build args in github build step
Unverified signature473799b -
build args fix
Unverified signature0e9aa08 -
add latest tag?
Unverified signature05f7aac -
Add `chat-ui` and `chat-ui-db` docker images (#613)
Unverified signature* Add a `Dockerfile.local` image to build * Add a build & publish workflow * fix workflow * Add support for local mongoDB * Fix problem with POST requests * use slim image * Set mistral to be the default model in .env * Fix entrypoint * Revert change regarding config folder * replace env variable by build arg for DB and update work * old mention of `conf` folder in readme * env to .env * Revert readme changes * lint73b316c
-
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
-
Add a CI check for dockerfile build (#557)
Unverified signature* Simplify dockerfile * Add build check step to lint-and-test workflow * Revert "Simplify dockerfile" This reverts commit a88f2bcc553ee0d9e2165a56c67a194357f63979. * simplify build check * add minimal dotenv to CI step * fix ci step06db4b1
-
Update Node.js version to 20 in CI (#564)
Unverified signature4eb33c8
-
quickfix: pass secrets to action
Unverified signature7d8cffd
-
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
-
Add a job in release action that updates the .env in prod (#493)
Unverified signature* Add a workflow that updates the .env in prod * move update env to release workflow * version bumps on actons * flipped config * black22d7b97
-
add prod push
526684e -
add staging release & trial prod release
47d3b3a -
staging test
00c1445
-
✅ Add tests setup + test sign in flow
Adrien Denat +1: Eliott C.Unverified signature* replace EthicsModal by LoginModal and start binding auth logic * start implementing login modal + give a try to @auth/sveltekit using Github oauth as a test * start custom auth implementation instead of auth.js for consistency with moon-landing * fetch user data from provider * add migration from anonymous to user + bind frontend * add missing auth secret + only migrate conversations for pre-existing users * remove email scope as it's not needed Co-authored-by: Eliott C. <coyotte508@gmail.com> * no need to define .well-known path Co-authored-by: Eliott C. <coyotte508@gmail.com> * use env var for hf hub website url * move sessionId to signature on csrf token exchange * remove ethic modal check and set default settings on new users * anonymous users can read only + modal on write tries * refresh session cookie when existing user signin again rather than use the old one * allow users to keep using the app without loging-in if env var is no…d9a878f
-
👷 Add CI to check types (#161)
Eliott CUnverified signatureda1e5da