Spaces:
Runtime error
Runtime error
Commit History
-
HuggingChat 2026 (#1875)
Unverified signature* refactor: remove tokenizer-related functionality and dependencies - Removed tokenizer dependencies from package.json. - Deleted TokensCounter component and its usages across the application. - Updated model configurations to exclude tokenizer properties. - Refactored model processing logic to support only OpenAI-compatible endpoints. - Adjusted API responses to omit tokenizer information. - Cleaned up related utility functions and imports. * Remove web search functionality and related components - Deleted endpoints for various web search APIs (serpApi, serpStack, serper, webLocal, youApi). - Removed generateQuery function and its usage in search. - Eliminated web search related types and interfaces from the codebase. - Updated Assistant and Conversation types to remove references to web search and embedding models. - Cleaned up related utility functions and message updates for web search. - Adjusted API routes and components to reflect the removal of web search features. - Updated…7bf1507
-
feat(test): add support for testing svelte components in isolation (#1692)
Unverified signature* feat(test): add support for testing svelte components in isolation * refactor: use `vitest-browser-svelte` for tests, fix markdownRenderer tests * test: remove todos on tests that pass * fix: deps & tests52778aa
-
fix: populate script
d678639
-
feat: allow storing env variable in DB (#1802)
Unverified signature* feat(config): wip, make config controllable from DB, public side for now * fix: build * feat(config): add config manager env var toggle * wip: make backend config use config manager * fix: typechecks * fix: circular import * refactor: init hook sveltekit * fix: disable config manager during tests * refactor: use enum for semaphore, move delete from auto after 60s to separate `deleteAt` field * feat: config manager checks for updates on requests * fix: config script exit * fix: remove top-level awaits * fix: script await * feat: filter config keys based on public environment variables for more security * fix: change import to type for public environment variables48059af
-
feat: admin CLI login (#1789)
Unverified signature* feat: implement admin token management and CLI login functionality - Added `ADMIN_CLI_LOGIN` and `ADMIN_TOKEN` to the environment configuration. - Introduced `AdminTokenManager` for handling admin sessions and token validation. - Updated user session handling to include admin status. - Enhanced API routes to utilize admin checks based on the new token management. - Modified frontend components to reflect admin status correctly. - Added a new endpoint for validating admin tokens. * fix: remove token after validationafbe0de
-
fix: new api routes in updateLocalEnv
92f26be
-
fix: updateLocalEnv script
37f0cfc
-
fix(local-dev): adjust local environment configuration settings
23b1143
-
feat(scripts): add reasoning & code samples to populate script
53a5ddc
-
fix(hchat): update internal endpoint (#1716)
Unverified signature54a5aad
-
fix: handle no beginToken for token based reasoning models (#1713)
Unverified signature* refactor: remove debug console log in updateLocalEnv script * fix: handle no beginToken for token-based reasoning modelsa68038a
-
fix: make updateLocalEnv compatible with local development
648b4e8
-
Revert "feat: new MarkdownRenderer with tests (#1601)"
This reverts commit 36b5fee18016d4a10b02cca7616439478b9a4200.ef367c0 -
feat: new MarkdownRenderer with tests (#1601)
Unverified signature* feat: add new testing setup for Svelte components * feat: rework markdown renderer * test: add tests for markdown renderer * test: add more tests for markdown renderer * fix(test): skip failing testsacc3177
-
feat(migrations): clean up empty conversations from db (#1561)
Unverified signature* 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 collectiondd87ed5
-
feat(test): use mongo in memory for tests (#1559)
Unverified signature8c15a5d
-
feat: add setting option to disable content pasting
821697c
-
feat: Update featured workflow to allow user to submit featured requests (#1510)
Unverified signature* feat: Update featured workflow to allow user to submit featured requests * fix: merge conflict * fix: styling of buttons69c6804 -
fix: populate script improvements
287184e
-
fix(config): test setup update (#1430)
Unverified signature* fix test setup * exclude vite config from type checkd0c8b66
-
Community tools (#1250)
Unverified signature* wip community tools * push * fix * bugfix * pass inputs to gradio correctly * full inputs for imagegen * lint * update gradio * fix call to gradio * fix imagegen tool * fix name * fix image display * Community tools (#1297) * work on tools * wip * icon * page * use IDs for every tools * improve tools page * wip * add optimized deps * refacto 1tool=1function * Add preview page * fix active indicator * fix text alignment * fix populate script * tooledit * fixes * better inputs * fix console error & cancel button * upload new tools * edit * improve lint * working community tools * fix active featured check * Simplify outputs in user form * fix non file outputs * fix imagegen default tool * add community tools popup * redirect gradio API calls through chat-ui backend * better usecount * Better loading & output element * better redirects & auto activate * bugfixes * fix migration changes * Add feature flag for tools * fix tools menu * Keep tr…0c3e3b2
-
Fix `updateLocalEnv` to go with the new secrets config (#1296)
Unverified signature60ef1f4
-
Update scripts & documentations to reflect new prod setup (#1107)
Unverified signature03e84b5
-
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 logs to debug level and add an env var to filter by log level in d…a8a9533
-
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 \n6d03e59
-
Add a simple populate script (#880)
Unverified signature* Add a simple populate script * readme changes * add `all` flag * add logging everywhere54234a0
-
✨ 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>e2f48a3
-
[Assistnats] improve reporting (#797)
MishigUnverified signature* [Assistnats] improve reporting * typo * make it more general * typo * update prodEnv script * Update scripts/updateProdEnv.tsd39bd0d
-
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>b9ec522
-
Misc julien tweaks (#525)
Unverified signature* Fix formatting (whitespace) * typo * i think we can remove this now60253ec
-
Break up SECRET_CONFIG into individual secrets (#523)
Unverified signatureddafeea
-
fix error check in scripts for .env
4397472 -
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 flow5ff2e6d