Commit History
-
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 …98b1c51
-
Add websearch controls for assistants (#812)
Unverified signature* remove query modifiers from generateQuery * Add backend for assistant RAG * Add front-end for updating RAG assistant * enable web parser to return plaintext directly for matching headers * Update websearch flow for handling assistant rag preferences * Add our old blocklist to .env.template * Enable websearch to run on messages depending on assistant requirements * reorganized imports * Rename vars * use projection * Add environment variable for assistant rag * fix assistant rag on runwebsearch * fix styling if rag is disabled * make sure we always omit credentials when fetching web pages * Add new checks for SSRF, with a new env var `ENABLE_LOCAL_FETCH` * Use DNS to check if the links are local or not * Add a websearch indicator * Add more tags to parser * Add indicators * Display RAG options in settings view * ui * fix rag detection * bit more spacing * fix button position in assistant form * wording (mainly) …3f5871c
-
fix shifted layout (#836)
Unverified signature43714c0
-
Mobile navs: bigger buttons and hide new? (#720)
Unverified signature* bigger buttons and hide new * icon updatea03d289 -
Web search: UI update (#749)
Unverified signature* wip * ui * font-size * leading * smaller * move icon and remove loading props * rm inline svg * rm animationbccd811
-
add logo (#518)
Unverified signature9a3aa08
-
loader dots fix
fb55900
-
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
-
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
-
Login flow (#193)
Adrien Denat +2: Eliott C., victor 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…64d3841
-
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>2606dde
-
👷 Add CI to check types (#161)
Eliott CUnverified signatureda1e5da
-
Toast errors (#91)
Unverified signatureCo-authored-by: Julien Chaumond <julien@huggingface.co> Co-authored-by: Adrien Denat <oi@adriendenat.com>fe2328e
-
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
-
auto-formatting (#45)
Unverified signature4c70bcc -
Syntax highlighting + copy to clipboard button (#30)
Adrien Denat +1: Eliott CUnverified signature* add highlight.js for syntax highlighting + add CodeBlock and CopyToClipboard components * use clipboard.js for CopyToClipboard button + add Tooltip component * do not include Tailwind classes in template since it can't parse them * remove hack to strip model messages "endoftext" for now since it breaks code blocks * move styles.css to /styles/main.css * fix import + remove unused component * auto detect language if not returned by model * remove clipboard.js dependency and use native API * rename icons with Icon prefix --------- Co-authored-by: Eliott C <coyotte508@gmail.com>8811ee0
-
Chat snap scroll bottom (#10)
Adrien DenatUnverified signature* only snap scroll to bottom if user didn't scroll up * add scroll to bottom button when user scrolls up in the chat * remove unecessary export * rename scrollToBottom action to snapScrollToBottom + remove anim for now as it's stutteringb37570d
-
Introduction: design update (#7)
Unverified signature* intro design update * casing * color3072414