Commit History
-
Add ability to define custom model/dataset URLs (#347)
Unverified signature* Add ability to define custom model/dataset URLs * lint --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>ce2231f
-
Add optional timestamps to messages (#294)
Unverified signature* add optional timestamp field to messages * Add a `hashConv` function that only uses a subset of the message for hashing1eff97d
-
Add support for HF summarization endpoint in the websearch (#319)
Unverified signature* Add support for HF endpoint for summary * add fail-safe for summarization10d1ab5 -
feat: factor out HF_API_ROOT to allow different inference endpoints (#332)
Colin DablainUnverified signature3baa389
-
loader dots fix
fb55900
-
Add support for websearch retries (#318)
Unverified signature* web search retries * remove test error lol0aa57de
-
very basic rate limiter (#320)
Unverified signature922b1b2
-
Added Serper.dev API as an alternative web search provider (#302)
rogerserperUnverified signature6f7b315
-
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
-
Fix typo in Settings.ts (#286)
Unverified signatureexplictly -> explicitlydf5a2eb
-
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 -
fix details arrow (#285)
Unverified signatureaa18b4d -
Bump version to v0.3 (#283)
Unverified signature* bump version to 0.3 * lintf854cbb
-
Chat Logo Home Screen Bookmark icons for iOS (#279)
Carolyn MarieUnverified signature36022cf
-
Web search details: ui update (#277)
Unverified signature* update ui misc improvements * scale icon * padding9d7a9c3
-
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
-
🩹 Make preferred_username optional
coyotte508002a2a0
-
🐛 Fix export of convos (#267)
Eliott CUnverified signatureaa125df
-
Export to parquet: also export score (#265)
Unverified signature9658717 -
feat openid login with google (#250)
Unverified signatureCo-authored-by: coyotte508 <coyotte508@gmail.com>fa3b3b4 -
🥅 Display OIDC error properly (#261)
Eliott CUnverified signature101f9ef -
🔧 Add "directConnection" option to MongoDB (#260)
Eliott CUnverified signature1b9697f
-
Fix stop generating button (#244)
Unverified signature* fix stop btn * use media query293ff91
-
🐛 Vote not working with new messages (#249)
Adrien DenatUnverified signature* fix retry not working after vote changes * once assistant answer is received, invalidate the messages so we get the update id * pass response message id from client to server * remove url dependencya974db9 -
✨ add conversations deletion to settings modal (#239)
Adrien Denat +1: victorUnverified signature* ✨ add conversations deletion to settings modal #233 * remove inert attribute from app only if last modal closed * make the button an underlined text instead * prepare for no-js * ui --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>4791715 -
misc ui
fd5e4ef
-
🐛 Fix settings modal not resetting its state (#240)
Adrien Denat +1: Eliott C.Unverified signature* 🐛 Fix settings modal not resetting its state should not mutate passed prop * make variable dynamic in case it's updated from outside Co-authored-by: Eliott C. <coyotte508@gmail.com> * Revert "make variable dynamic in case it's updated from outside" This reverts commit ba1938eaf92c91a42077e69a860f89ec1a8bd740. --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>865ebc3
-
✨ 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
-
🐛 Add missing classes for pre tag (#220)
Unverified signature26ccb67 -
🐛 Fix "signin with HF" within space + CSRF (#236)
Eliott CUnverified signature767afa7 -
✅ 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
-
Announcement banners Configurable with .env vars (#222)
Unverified signatureCo-authored-by: Eliott C. <coyotte508@gmail.com>3dbdd6a -
Login flow (#193)
Adrien Denat +2: Eliott C., victorUnverified 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…64d3841
-
added svg favicon (#205)
digitaljerryUnverified signatureclose #203 * added svg favicon and updated link * included png favicon as fallback sizes 16 and 32 * removed sizes to avoid duplicates55a1bbc
-
fix deepestChild function throwing error (#213)
Adrien DenatUnverified signature* fix deepestChild function throwing error * let -> const * remove unecessary var64263c4 -
Fix long word in assistant message (#214)
Unverified signatureca616cc -
Break long word in user message (#209)
Unverified signatureCo-authored-by: Eliott C <coyotte508@gmail.com>dbd3d72 -
🧑💻 Explicit error message when MongoDB configuration lacking (#208)
Eliott CUnverified signature8bb1351 -
Improve style and accessibility in the settings modal (#206)
Unverified signature17d2394
-
Release as a GitHub repo (#195)
Unverified signature* Update PRIVACY.md * Update README.md * mention SvelteKit in the readme * Add banner0fe4fa3
-
Add delete confirmation to nav menu (#188)
Unverified signature* Add delete confirmation to nav menu - Refactored chat nav column item into a separate NavElement * Fix linting? * Update src/lib/components/NavElement.svelte Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * Renamed NavElement to NavConversationItem * remove double spaces * fixed linting --------- Co-authored-by: Victor Muštar <victor.mustar@gmail.com>c1c75fd -
🩹 Fix settigns invalidation
coyotte508cc @Grsmtoed27197 -
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 -
✨ Backend preparation for "Sign in with HF" (#190)
Eliott CUnverified signature2e28042 -
🐛 Fix code formatting (#192)
Eliott CUnverified signatured71f92c -
fix chat staying pending when there is a server error (#186)
Adrien DenatUnverified signaturea732b79
-
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 -
migrate to eslint-plugin-svelte from deprecated plugin (#182)
Adrien DenatUnverified signature* migrate to eslint-plugin-svelte from deprecated plugin * fix missing change in eslintrc * add rule for Eslint vscode extension to parse svelte files * update the code after migrating to latest eslint-svelte pluginfa72efa -
change StarCoder to StarCoderBase in chat intro (#184)
Loubna Ben AllalUnverified signaturee532ada