Spaces:
Running
Running
Commit History
-
Settings UI update (#638)
Unverified signature* add description * modal size * copy link to model * layout * use copy componentd644838
-
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
-
Group conversations by date + small nav fixes (#582)
Unverified signature* fix: get rid of duplicate gradient in mobile nav fix: remove top rounded corned in mobile nav * feat: tighten navigation * fix: gradients on mobile * feat: group conversations by date * ui tweaks * refacto - remove reduce --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>332d815
-
fix custom preprompt message display
Unverified signature2da78f5
-
Open in new tab if cookies are disabled (#580)
Unverified signature* Open in new tab if cookies are disabled * lintbb33d30 -
fix: new chat when old one is still streaming (#578)
Tomás Gómez +1: nsarrazin Unverified signature* fix: new chat when old one is still streaming * linting * make sure loading is off if isAborted is true To avoid loading indicator showing up when stopping generation early * got rid of reactive statement --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>f23c3c9
-
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
-
Show model modal even if only one model is available (#536)
Unverified signatured7bfd31 -
fix lint
Unverified signatured4ef484 -
remove target on disclaimer form
Unverified signaturef0058cf
-
fix: checkbox hide emojis not show
Unverified signaturebed356a
-
Add checkbox for displaying emojis in sidebar (#520)
Unverified signature* Add settings for displaying emojis in sidebar * updated wording4e58dda -
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
-
Fix CSS in DisclaimerModal
Unverified signatureCo-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>05c5f0c
-
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
-
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` example830b0b6
-
Login button sends you directly to login page (#501)
Unverified signature* Login button sends you directly to login page. * use _parent for target545f27c
-
Add a message wide copy button (#453)
Unverified signature* add-copytoclipboardbtn for the all message * fix padding * fix padding * Fix styling * Move before like and dislike button * position and spacing * mobile fix --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>a7dc1aa
-
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 -
Add latex support with marked-katex-extension (#450)
Unverified signature* Add latex support with marked-katex-extension * Add renderer * Fix marked default option problem * Fix linting error * Fix lock error15bf16f -
fix lint on main
77df078 -
Mobile: fix model selection (#448)
Unverified signature* adjustments and mobile modal * use dvh unit * marginc867764
-
[Websearch] update (#427)

Mishig +2: julien-c, victor Unverified signature* Fix reuqest body * update webSearchQueryPromptTemplate * update generate google query parser * Add today's date to google search query creator * crawl top stories if exts; remove answer_box & knowledgeGraph * Create paragraph chunks from top articles * flattened paragprah chunks * update status texts * add gradio client * call gradio app for RAG * Web scrape only "p, li, span" els * add MAX_N_CHUNKS * gradio result typing * parse only <p> elements * rm dev change * update typing WebSearch * buld RAG prompt * Rm dev change * change websearch context msg from user to assisntat type * use hosted gradio app * fix lint * prompt engineering * more prompt engineering * MAX_N_PAGES_SCRAPE = 10 * better error msg * more prompt engineering * revert websearch prompt to previous * rm `top_stories` from websearch as the results are not good * Stop using gradio client, use regular fetch * chore * Rm websearch…ebac87f
-
types fix in SettingsModal.svelte
8a3914c -
fix issue with settings modal
3fd838e
-
Support custom system prompts from the user (#399)
Unverified signature* Support custom system prompts from the user * linter * types & lintcd6894d
-
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
-
add a login button when users are logged out (#381)
Unverified signature8fa7bd9
-
Make model branding customizable based on env var (#345)
Unverified signature* rm open assistant branding * Update SettingsModal.svelte * make settings work with a dynamic list of models * fixed types --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>54e8a52
-
Update /privacy and other content following Llama v2 release (#374)
Unverified signature7dd8724
-
Reopen: Feature/disable login for n messages (#356)
Unverified signature* disable login on first message * update banner here too * modal wording tweaks * prevent NaN * fix login wall * fix flicker * lint * put modal text behind login check * fix bug with sending messages without login * fix misalignment between ui and api * fix data update on disable login --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>7c4fdc9
-
Revert "Option to disable login on first N messages (#352)"
This reverts commit 6183fe78b431f3b8319fa5b271ed017d2bdf47b4.0a662b7 -
Option to disable login on first N messages (#352)
Unverified signature* disable login on first message * update banner here too * modal wording tweaks * prevent NaN --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>6183fe7
-
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
-
loader dots fix
fb55900
-
Add support for websearch retries (#318)
Unverified signature* web search retries * remove test error lol0aa57de
-
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 -
fix details arrow (#285)
Unverified signatureaa18b4d
-
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
-
feat openid login with google (#250)
Unverified signatureCo-authored-by: coyotte508 <coyotte508@gmail.com>fa3b3b4