Spaces:
Runtime error
Runtime error
Commit History
-
Initial commit
725337f
-
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
-
refactor: new API & universal load functions (pt. 2) (#1847)
Unverified signature* feat(API): refactor API with Elysia * feat: initial elysia setup * feat: replace conv/[id] load function with universal * fix: delete v1 catchall * wip * fix: response type * fix: add cors * feat: more routes in tools & assistants * refacto: use normal svelte fetch in `/assistant/[assistantId]` * refacto: use normal svelte fetch in `conversation/[id]` * feat: use universal load function for `tools/[toolId]` * wip: removing more server load function stuff * feat: more routes to universal load functions * feat: more routes to universal * refactor: move tools loading to API endpoint * refactor(api): implement tools search API endpoint and move load function * fix: types on tool search * refactor: update assistant route and remove redundant page load function * refactor(api): move assistants page load function to api call * refactor(settings): remove waterfall loading * refactor: main load function * fix: types * feat: improve fetchJSON to handle empty responses * …612f16b -
Revert "refactor: new API & universal load functions (#1743)"
This reverts commit 7961ae74d12cc62461929d92aca0adac48b72d9a.813f132 -
refactor: new API & universal load functions (#1743)
Unverified signature* feat(API): refactor API with Elysia * feat: initial elysia setup * feat: replace conv/[id] load function with universal * fix: delete v1 catchall * wip * fix: response type * fix: add cors * feat: more routes in tools & assistants * refacto: use normal svelte fetch in `/assistant/[assistantId]` * refacto: use normal svelte fetch in `conversation/[id]` * feat: use universal load function for `tools/[toolId]` * wip: removing more server load function stuff * feat: more routes to universal load functions * feat: more routes to universal * refactor: move tools loading to API endpoint * refactor(api): implement tools search API endpoint and move load function * fix: types on tool search * refactor: update assistant route and remove redundant page load function * refactor(api): move assistants page load function to api call * refactor(settings): remove waterfall loading * refactor: main load function * fix: types * feat: improve fetchJSON to handle empty responses * …50aea0a
-
feat: rework example layout to work better on mobile
2335377
-
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
-
chores(svelte): migration to svelte 5 (#1685)
Unverified signature* chores(svelte): migration to svelte 5 * chores(svelte5): remove preventDefault & stopPropagation legacy handlers * chores(deps): version bumps * fix: closing modal works properly * fix: messagte loading reactivity * fix: loading indicator * fix: conversation list reactivity * fix: bug on tool logo rendering * fix: infinite loading circular dep * feat: hide new chat button on new chats * fix: move apply directive to main.css * fix: remove legacy syntax in `TokensCounter.svelte` * fix: replace legacy `run` with Svelte 5 `$effect` in NavMenu * fix: replace legacy `run` with Svelte 5 `$effect` in ScrollToPreviousBtn * fix: migrate `settings/[modelId]` page to Svelte 5 syntax * fix: replace legacy `run` with Svelte 5 `$effect` in ToolUpdate component * fix: migrate ToolEdit component to Svelte 5 syntax * fix: simplify login required handling in ChatInputa1a6daf
-
fix(chat): update link target behavior for announcement banners to default to "_self"
4c06898 -
fix(chat): make link target behavior configurable for announcement banners
3202a6c
-
fix: a11y improvements
0031e51
-
fix: upload of files on multimodal assistant on first message (#1513)
Unverified signaturethere was a bug that prevented users from uploading images to assistants before starting a conversation13ed034
-
Major bump to sveltekit & node-adapter versions (#1395)
Unverified signature* version bump * sveltekit2 bump * formatting * fix imports * fix deps * minor bump on chat-ui itself * better error logging * bump svelte-check version06feee8
-
Revert "chore(deps): update major versions on svelte, sveltekit & node (#1281)"
Unverified signatureThis reverts commit 2e95674dc5821f3f891001d05873c6053b0784bf.77ea6f2 -
chore(deps): update major versions on svelte, sveltekit & node (#1281)
Unverified signature* Bump versions * fix checksa41af50
-
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
-
/models tweaks (#864)
Unverified signature* direct link to new chat * mobile spacing * show model logo on new chat * temp: hide "new chat" * exemples tweak7af80c2
-
fix shifted layout (#836)
Unverified signaturedcb424c
-
update news (#753)
MishigUnverified signaturea2ea417
-
Use JSON5 for parsing all config vars (#671)
Unverified signature20a343f
-
Upgrade tailwindcss to version 3.4 (#664)
Unverified signature* Upgrade tailwindcss to version 3.4 * lint0fe5982
-
fix: (#621)
Unverified signature- query param sets model correctly - fix bugs related to preprompt48288dc
-
Reworked settings menu (#591)
Unverified signature* initial work on new settings page * new settings - fully working * tweak to settings layout * Added model links * lint * redirect on bad model * delete error page * fix links & reset button * add saving indicator * Make new settings work on mobile * small tweak mobile * Fix preprompt so it gets read correctly from the model.preprompt (#595) * 🔒️ Harden session ID generator (#599) * bump svelte & related to latest (#600) * Update dockerfile to node 20 (#601) * Only refresh cookie on post (#606) * Session management improvements: Multi sessions, renew on login/logout (#603) * wip: update sessionId on every login * comment out object.freeze * only refresh cookies on post * Add support for multiple sessions per user * fix tests * 🛂 Hash sessionId in DB * 🐛 do not forget about event.locals.sessionId * Update src/lib/server/auth.ts Co-authored-by: Eliott C. <coyotte508@gmail.com> * Add `expiresAt` field * remove index causing errors * Fix bug where sessions w…e99e7c2
-
Show model modal even if only one model is available (#536)
Unverified signature6082d27
-
Feature customizable description (#507)
Unverified signature* Add PUBLIC_APP_DESCRIPTION to .env * Add PUBLIC_APP_DESCRIPTION to .env.template * Add PUBLIC_APP_DESCRIPTION example in README.md * Make description customizable using PUBLIC_APP_DESCRIPTION * Fix bad quote in the `.env` example24cec9f
-
Support custom system prompts from the user (#399)
Unverified signature* Support custom system prompts from the user * linter * types & lint11983d2
-
Added ChatUI branding & put theming behind an env variable (#298)
Unverified signature* Moved all huggingchat branding behind an env variable * Refactored branding to use multiple env variables * pr review * prettier * move the ethics modal behind the flag PUBLIC_APP_DISCLAIMER * inline chat ui logo so it would take the color * flex-none67577d7
-
misc ui
48f39e0
-
Announcement banners Configurable with .env vars (#222)
Unverified signatureCo-authored-by: Eliott C. <coyotte508@gmail.com>b813667
-
Release as a GitHub repo (#195)
Unverified signature* Update PRIVACY.md * Update README.md * mention SvelteKit in the readme * Add banner3f2cd63
-
Disable models (#187)
Adrien Denat +1: Eliott C.Unverified signature* add ability for a model to be disabled * fallback to default model if user has invalid/disabled model in settings * set conversations to read-only if conv model is disabled * add better disabled state on chat input * fix inverted if statement * remove bigcode from .env * fix not updating settings Co-authored-by: Eliott C. <coyotte508@gmail.com> * refactor solution to use an OLD_MODELS env var instead * OLD_MODELS needs to be in .env but can be empty * fix typing issue + typo * refactor models validation * old models displayName is optional * set read only prop on user message not assistant messages * remove console.log * ♻️ Refacto isReadOnly * 🩹 Fluff: use 410 http code --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>c202241
-
change StarCoder to StarCoderBase in chat intro (#184)
Loubna Ben AllalUnverified signature0825d7d
-
Models selector (#164)

Adrien Denat +3: victor, julien-c, coyotte508 Unverified signatureCo-authored-by: Victor Mustar <victor.mustar@gmail.com> Co-authored-by: Julien Chaumond <julien@huggingface.co> Co-authored-by: coyotte508 <coyotte508@gmail.com>01b06a3 -
♿️ No-JS ethics modal (#166)
Eliott CUnverified signature7c43dbf
-
♻️ Simplify setup, prepare for multi-models (#156)
Eliott CUnverified signatured13f9cf
-
🚨 Small cleanup (#133)
Eliott C +1: victor Unverified signatureCo-authored-by: Victor Mustar <victor.mustar@gmail.com>0b8ae7c -
Add ethics modal (#129)
Unverified signature* add ethics modal * bind ethic modal to local storage + add transition * tweaks * set app version in an env var * hide version if env var is undefined * alignement --------- Co-authored-by: Adrien Denat <oi@adriendenat.com>b4668c2 -
wording (#130)
Unverified signature96ea91d
-
Add tailwind prettier (#123)
Adrien DenatUnverified signature* add tailwind-prettier plugin * lint all project files6a0861b
-
Update examples wording (#96)
Unverified signature* Update examples wording * wording * wordingea1f538 -
Correct model name and model id (#92)
Unverified signature* Update model name & model id * Facultative commit cc @gary1492e4723b -
add v0
14bc420
-
nav branding (#84)
Unverified signature* nav branding * spacingee691dc -
Fix mobile height (#79)
Unverified signature* 100% screen on mobile * examples size * send button ios9f5dff0 -
Head meta (#77)
Unverified signature* update wording * add basic meta5bc9ce5
-
Prettier update (#54)
Unverified signature* Update .prettierrc * prettify everthing prettify everything98051f8 -
UI tweaks (#53)
Unverified signature* logo * add some icons * size tweaks * layouta64fb4e
-
✨ Model URL is dynamic
coyotte508ce37300 -
✨ Make chat intro buttons work (#38)
Eliott CUnverified signaturee02c369 -
inference params from @OlivierDehaene 's Space (#34)
Unverified signature* light theme by default to be consistent with hf.co... * params from @OlivierDehaene's Space * small todoca85946