Commit History
-
Upgrade tailwindcss to version 3.4 (#664)
Unverified signature* Upgrade tailwindcss to version 3.4 * lintc97d5d1
-
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
-
Bump version to svelte 4 (#488)
Unverified signatureFix linting & type checksf504c92
-
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
-
[Websearch] update (#427)
Mishig +2: julien-c, victorUnverified 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
-
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
-
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
-
🐛 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 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
-
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
-
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
-
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
-
✨ Ability to download prompt (#176)
Eliott CUnverified signatureb8a746c
-
🔧 Always strip <|endoftext|> (#171)
Eliott CUnverified signatureced1ef0 -
🐛 Stop bigcode prompts (#170)
Eliott CUnverified signaturead6275a -
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
-
👷 Add CI to check types (#161)
Eliott CUnverified signatureda1e5da
-
🩹 Do not sanitize ½ and other html entities
coyotte508a415295 -
🐛 Make it work with default model
coyotte508Truncate was too high (1024 vs 1000)1eb0e2e
-
✨ Retry messages (#121)
Eliott C +1: victorUnverified signatureCo-authored-by: Victor Mustar <victor.mustar@gmail.com>4a6603b
-
Fix line break markdown (#131)
Adrien DenatUnverified signature* replace all <br> tags by \n * fix line breaks in markdown not being transformed to <br> tags * make sure to also match things like <Br>cad5ba6
-
Add tailwind prettier (#123)
Adrien DenatUnverified signature* add tailwind-prettier plugin * lint all project filesb2387f6
-
fixup! ♻️ Simplify / improve token removal
coyotte5088e370ca -
♻️ Simplify / improve token removal
coyotte508189b280 -
🎨 Remove more stopwords (#102)
Eliott CUnverified signaturea11cd21 -
🩹 Do not flash endoftext (#89)
Eliott CUnverified signature9b20b88 -
prose-sm on mobile
837d314
-
layout misc
dea9425
-
🐛 Remove sanitized < (#71)
Eliott CUnverified signature4f1405c -
✨ Remove endoftext (#70)
Eliott CUnverified signature0abf663
-
fix messages width
2d533a9 -
avoid huge titles
5c5a098 -
Prettier update (#54)
Unverified signature* Update .prettierrc * prettify everthing prettify everything5da61b4 -
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 -
refactor syntax highlighting, more performant + avoid flickering on copy to clipboard button (#49)
Adrien DenatUnverified signature697285c
-
auto-formatting (#45)
Unverified signature4c70bcc -
💄 Preserve whitespace in user message (#39)
Eliott CUnverified signature7b1d57f -
add basic html sanitizing (#40)
Adrien Denat +1: Eliott C.Unverified signature* add basic html sanitizing * fix prose overriding styling of code block * lazy load HTML sanitizer * simplify sanitization * make sure sanitizedContent is kicking in on prop changes Co-authored-by: Eliott C. <coyotte508@gmail.com> * fix reactive statement not running on SSR --------- Co-authored-by: Eliott C. <coyotte508@gmail.com>0ca99f1 -
Adrien syntax highlighting ssr (#32)
Adrien DenatUnverified signature* only show copy to clipboard button on hover of code block * only highlight code on client-side to support parsed markdown on SSR4a0bbdf -
Share convos (#35)
Eliott CUnverified signaturefc15a4c -
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 -
💄 Add prose (#28)
Eliott CUnverified signaturee5eb656
-
add basic markdown parsing using Marked (#18)
Adrien Denat +1: Eliott CUnverified signatureCo-authored-by: Eliott C <coyotte508@gmail.com>c3aa4e3 -
Split app structure & create convos (#20)
Eliott CUnverified signature1b66f8d
-
UI update misc (#4)
Unverified signature* mobile input * rename and move files * rm unused component * clean + theme switch * rm test * mobile navigation6a35655