Commit History
-
Upgrade tailwindcss to version 3.4 (#664)
Unverified signature* Upgrade tailwindcss to version 3.4 * lintc97d5d1
-
fix: (#621)
Unverified signature- query param sets model correctly - fix bugs related to preprompt0fcf19a
-
Misc UI (#616)
Unverified signature* fix bottom gradient * larger textarea * dropzone * lint --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>e0c0b0e
-
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 * r…2cb745f
-
Add support for tgi multimodal models (#531)
Unverified signature* wip: add support for tgi multimodal models * wip work on passing images to prompt * working idefics config! * rm allowed conv feature * lint * Add image resizing * fix ssr * add upload button * add delete button * misc formatting * lint * server file size check * optimistic update of images * retry with images * fix websearch button * lint * better error handling & max one image at a time * replace test image by blank one * disable loading on page change * Fix sharing of images * fix comments * Update filedropzone (#544) * Update src/lib/buildPrompt.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * small tweaks * Fix merge conflicts * lint * wildcard image mime type * fix lint and comment * added comments * added comment about file size * Readme update --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> Co-authored-by: Victor Mustar <victor.mustar@g…0e5c445
-
Add a more visible retry button on failure to generate (#530)
Unverified signature* Add a more visible retry button on failure to generate * clean up props * lint * simplify * color * fix linting --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>2d45a3c
-
Bring back disclaimer modal & updates to guest mode (#526)
Unverified signature* Changes to modal on login: - Ethics modal on page load - Login modal pop up for guest mode later - Change message limit to be 5 messages across all conversations * fix login button width * tweak modals * Update src/routes/+layout.server.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * Fix linting --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com> Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>5c9a37f
-
Bump version to svelte 4 (#488)
Unverified signatureFix linting & type checksf504c92
-
Store preprompt in conversation (#422) (#470)
Unverified signature* Store preprompt in conversation (#422) * display preprompt at the top * system prompt modal * tweaks --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>af58e08
-
Backend refactor for streaming endpoints (#444)
Unverified signature* wip: complete refactor of streaming backend * working refactoring * fix missing first token & perf regression in output quality * lint * Fix websearch loading from db * fix loading * fix invalidate * remove logs * fix SSR error * typo: paragraphs * fixed save on abort * lint * lint * remove debug log in console * lint for reale943a05
-
Leverage model link to modelUrl when informed (#385)
Albert IribarneUnverified signature* Use modelUrl instead of building it from model name * Preserve compatibility with optional modelUrl config Use modelUrl if informed, else use the previous behavior.0ad340e
-
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-none5d07536
-
Refactor of websearch (#281)
Unverified signature* broke up websearch into multiple endpoints * Refactored loading to use the load function instead of client side fetching * lint * Chat Logo Home Screen Bookmark icons for iOS (#279) * prettier fix for #279 * fix eslint --------- Co-authored-by: Carolyn Marie <99927612+CarolynM8ri3@users.noreply.github.com>6434339
-
Add initial support for web browsing (#237)
Unverified signature* basic poc for web search * * Hide feature when serpapi_key is not defined * handle error case where serpapi failed * only use user queries for generating the query * Update src/lib/buildPrompt.ts Co-authored-by: Eliott C. <coyotte508@gmail.com> * Update src/routes/+layout.server.ts Co-authored-by: Eliott C. <coyotte508@gmail.com> * refactored getQueryFromPrompt * add jsdom to package.json * begin work on fetching webpage content * Update .env Co-authored-by: Eliott C. <coyotte508@gmail.com> * prettier fix * Add feature for scraping webpages * refactored search functionality - now gets triggered from a separate endpoint - results are stored in db - results can be displayed in their own endpoint * Added a stream to send updates from backend on web-search endpoint * made stream more reliable * Add front-end to web search feature * made sure the web results button appears on newly posted messages * close modal when message is don…0c4cf03 -
Shared convos can be opened without being logged in (#266, #270) (#271)
Unverified signature* Shared convos can be opened without being logged in * Fix creating conversation from shared conv Closes #270002f606
-
Fix stop generating button (#244)
Unverified signature* fix stop btn * use media query293ff91
-
✨ add thumb up/down voting system for messages (#152)
Adrien Denat +1: coyotte508Unverified signature* add thumb up/down voting system for messages * make like/dislike buttons toggle + bind to server * refactor vote API to better endpoint structure * set score to undefined rather than 0 when toggled * throw if message is not found + refactor retry dispatch * fix undefined class * Only make the buttons invisible if there's no score Co-authored-by: Eliott C. <coyotte508@gmail.com> * only allow thumb up/down if user is the author of the messages * always show thumbs up/down when voted * use MongoDB instead of mutating messages array in code * fix typings * fix linting issue * refactor code to throw before ifs * add auth logic to vote API endpoint * lint fix after merge conflict * on mobile only show thumbs on top + increase spacing between messages * fix thumbs always showing on mobile --------- Co-authored-by: coyotte508 <coyotte508@gmail.com>5b779a6
-
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>b7b2c8c
-
only apply autofocus on desktop viewport sizes (#183)
Adrien DenatUnverified signature* only apply autofocus on desktop viewport sizes * use onMount instead of reactive statement so callback doesn't trigger on resize event * remove dead comment44834c9
-
Models selector (#164)
Adrien Denat +3: victor, julien-c, coyotte508Unverified signatureCo-authored-by: Victor Mustar <victor.mustar@gmail.com> Co-authored-by: Julien Chaumond <julien@huggingface.co> Co-authored-by: coyotte508 <coyotte508@gmail.com>2606dde
-
♻️ Simplify setup, prepare for multi-models (#156)
Eliott CUnverified signature7764421 -
Input message improvements (#154)
Adrien Denat +1: victorUnverified signature* fix pasting long text not scrolling input properly + add scroll padding for better look * max rows --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>6f12e84 -
👷 Add CI to check types (#161)
Eliott CUnverified signatureda1e5da
-
✨ Retry messages (#121)
Eliott C +1: victorUnverified signatureCo-authored-by: Victor Mustar <victor.mustar@gmail.com>4a6603b
-
Add tailwind prettier (#123)
Adrien DenatUnverified signature* add tailwind-prettier plugin * lint all project filesb2387f6 -
Stop generation button (closes #86) (#88)
Adrien Denat +1: coyotte508Unverified signatureCo-authored-by: coyotte508 <coyotte508@gmail.com>2772555 -
use a custom event instead of requestSubmit as it's not supported in … (#112)
Adrien Denat +1: Eliott C.Unverified signature* use a custom event instead of requestSubmit as it's not supported in Safari 14 * add typings on createEventDispatcher Co-authored-by: Eliott C. <coyotte508@gmail.com> --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>74815cb
-
Correct model name and model id (#92)
Unverified signature* Update model name & model id * Facultative commit cc @gary149714cc60 -
Styling improvements (#82)
Adrien DenatUnverified signature* add custom scrollbar everywhere * fix scroll to bottom button positioning + add hover * fix non-scrollable transparent area above input text * replace slate color by gray * add custom scrollbars for codeblock * fix chat messages overflowing on small viewports * fix codeblock scrollbar color on light mode + remove !important * fix send icon hover + make disabled buttons default cursor0714764
-
top nav bg
2e48863 -
mobile share
1cb774f -
🔧 Configurable model name under text input (#81)
Eliott CUnverified signature8ba05f1 -
gradient
5be0e20 -
add mobile menu (#64)
Adrien Denat +3: victor, julien-c, Eliott CUnverified signature* add mobile menu * fix * Auto-naming convos by summarizing them (#58) * Auto-naming convos by summarizing them * Ok let's do it only on first message then * revamp * location.reload for now * avoid huge titles * fix messages width * add community feedback to nav * fix tokens keeping coming even when changing conversation (#62) * favicon * 🐛 Fix generating bug (#68) * 🐛 Fix redirect after delete * ✨ Remove endoftext (#70) * 🐛 Remove sanitized < (#71) * 🩹 Change 301 to 302 in case we want to use the route for something else * 🩹 Use passed fetch cc @julien-c When using @huggingface/infernece in the backend we'll need to make it support custom fetch as well * refactor mobile menu + improve accessibility * fix missing menu on md size + regression share button on hover * fix chat title truncate on mobile * fix layout max-width on mobile * use a single event dispatcher instead of 2 * add missing type="button" …4dae10f -
Add disclaimer and share (#76)
Unverified signature* disclaimer and share * ✨ Share from multiple routes * Update src/lib/components/chat/ChatWindow.svelte --------- Co-authored-by: coyotte508 <coyotte508@gmail.com>9405a81
-
Prettier update (#54)
Unverified signature* Update .prettierrc * prettify everthing prettify everything5da61b4 -
UI tweaks (#53)
Unverified signature* logo * add some icons * size tweaks * layout17dba7d -
add loading icon + pending state when assistant message is pending (#48)
Adrien Denat +1: Eliott C.Unverified signature* add loading icon + pending state when assistant message is pending * remove dead code Co-authored-by: Eliott C. <coyotte508@gmail.com> * add loading to messages if a token takes a while to come * add dom utils --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>3aa8136
-
✨ Make chat intro buttons work (#38)
Eliott CUnverified signatureb7f9ccb -
add icons lib (#41)
Unverified signatureb7167b0
-
Split app structure & create convos (#20)
Eliott CUnverified signature1b66f8d