Spaces:
Runtime error
Runtime error
Commit History
-
Initial commit
725337f
-
fix: adjust spacing in NavMenu and ChatMessage components; capitalize conversation title in page
baf6354 -
fix: improve layout responsiveness in ChatMessage component by binding message dimensions and adjusting classes
c62aca6
-
Update model link and add provider SVGs
52e36d3
-
HuggingChat 2026 (#1875)
Unverified signature* refactor: remove tokenizer-related functionality and dependencies - Removed tokenizer dependencies from package.json. - Deleted TokensCounter component and its usages across the application. - Updated model configurations to exclude tokenizer properties. - Refactored model processing logic to support only OpenAI-compatible endpoints. - Adjusted API responses to omit tokenizer information. - Cleaned up related utility functions and imports. * Remove web search functionality and related components - Deleted endpoints for various web search APIs (serpApi, serpStack, serper, webLocal, youApi). - Removed generateQuery function and its usage in search. - Eliminated web search related types and interfaces from the codebase. - Updated Assistant and Conversation types to remove references to web search and embedding models. - Cleaned up related utility functions and message updates for web search. - Adjusted API routes and components to reflect the removal of web search features. - Updated…7bf1507
-
fix: prevent MarkdownRenderer recreation overhead by removing {#key} wrapper (#1845)
calycekrUnverified signaturefix: remove {#key} wrapper to prevent unnecessary component recreation (MardownRenderer) - Remove {#key message.content} wrapper from ChatMessage component - Allow MarkdownRenderer to handle content updates via reactive props - Eliminate component destruction/recreation on every content change - Improve streaming performance by reusing component instancese926497
-
fix(mobile): various mobile fixes
b3ec8c3
-
New `InferenceClient` endpoint type (#1813)
Unverified signature* work on hf inference endpoint * working tools * fix: debug tool * feat: working tools with new endpoint type * feat: move config to HfInference * wip * fix: hf inference endpoint * refactor: rename endpoint * fix: rendering * feat: working tools on every supported model * fix: multimodal * refactor: rename endpoint type * refactor: base URL * fix: prevent simultaneous provider and baseURL usage * fix: disable tools on qwen 2.5 vl * feat: make sure json is correctly formatted4906f37
-
fix: gap between reasoning & web
0f74344
-
fix: remove legacy run in `ChatMessage.svelte`
221919b
-
chores(svelte): migrate `$app/stores` to `$app/state` (#1693)
Unverified signatured433b55
-
chores(svelte): migration to svelte 5 (#1685)
Unverified signature* chores(svelte): migration to svelte 5 * chores(svelte5): remove preventDefault & stopPropagation legacy handlers * chores(deps): version bumps * fix: closing modal works properly * fix: messagte loading reactivity * fix: loading indicator * fix: conversation list reactivity * fix: bug on tool logo rendering * fix: infinite loading circular dep * feat: hide new chat button on new chats * fix: move apply directive to main.css * fix: remove legacy syntax in `TokensCounter.svelte` * fix: replace legacy `run` with Svelte 5 `$effect` in NavMenu * fix: replace legacy `run` with Svelte 5 `$effect` in ScrollToPreviousBtn * fix: migrate `settings/[modelId]` page to Svelte 5 syntax * fix: replace legacy `run` with Svelte 5 `$effect` in ToolUpdate component * fix: migrate ToolEdit component to Svelte 5 syntax * fix: simplify login required handling in ChatInputa1a6daf
-
Simplify frontend for conversation tree representation (#1678)
Unverified signature* Simplify frontend for conversation tree representation * fix lint * get initialState * rm unused Message[currenrtChildIdx] * fix delete branch * comment * change lines order * use existing `assistant` prop in `ChatWindow.svelte` * Update src/routes/conversation/[id]/+page.svelte Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> * fix: rendering of message when switching branches --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>6216bfd
-
Refactor vote & alternative components (#1673)
Unverified signature* Refactor vote & alternative components * no plural --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>662d5af
-
Rm redundant if check (#1671)
Unverified signature4384b2b
-
Rm unused prop (#1670)
Unverified signature* Rm unused prop * fix lintc025511
-
feat: add `deepseek-ai/DeepSeek-R1-Distill-Qwen-32B` to HuggingChat config (#1660)
Unverified signature* feat: add `deepseek-ai/DeepSeek-R1-Distill-Qwen-32B` to HuggingChat config * feat: hide reasoning modal when its empty * fix: put r1 model higher in lista38e9de
-
feat: UI for advanced reasoning models (#1605)
Unverified signature* feat: add a reasoning dropdown for CoT models * feat: add status updates * fix: various cleanups - pass content & status to result dropdown - dont store streaming updates in db - make status generation non blocking * fix: make sure not to push reasoning token stream to db * feat: add time indicator and make the ui match websearch * fix: change in status update & promptbf75aa7
-
fix: resolve z-index overlapping issue in chat branch navigation (#1602)
bot08Unverified signaturefix z-index3361930
-
feat: add data attributes for message ids
ed150f8
-
feat: add MarkdownRenderer component & fix latex formatting (#1569)
Unverified signature* feat: add extra latex delimiters * fix: imports & afterUpdate * feat: create MarkdownRenderer and fix latex formatting * fix: remove extra whitespace * fix: remove unnecessary `extraLatexDelimiters` * fix: make sure links go to newpage1bcd186
-
fix: issue with [0] causing superscript
Unverified signature97ebd13
-
fix: force rerender on message ID change
fb9fe6d
-
[fix] Add placeholder param for sources icon (#1554)
goupilewUnverified signature4a03045
-
fix: better websearch quotes
e7c09f7 -
feat: add sources for websearch (#1551)
Unverified signature* feat: playwright, spatial parsing, markdown for web search Co-authored-by: Aaditya Sahay <aadityasahay1@gmail.com> * feat: choose multiple clusters if necessary (#2) * chore: resolve linting failures * feat: improve paring performance and error messages * feat: inline citations * feat: adjust inline citation prompt, less intrusive tokens * feat: add sources to message when using websearch * fix: clean up packages * fix: packages * fix: packages lol * fix: make websearch citation work better wiht tools * fix: use single brackets for sources, only render source element if a matching source is available * fix: bad import --------- Co-authored-by: Liam Dyer <liamcdyer@gmail.com> Co-authored-by: Aaditya Sahay <aadityasahay1@gmail.com> Co-authored-by: Aaditya Sahay <56438732+Aaditya-Sahay@users.noreply.github.com>69dee14
-
feat: paste long context as plaintext files (#1549)
Unverified signature* feat: paste long context as a file * fix: anim sources * fix: animations * feat: actually inject plaintext files in the prompt * filter out files that are plain text * feat: use custom MIME type for clipboard content * feat: add better UI affordance for pasting * fix: cleanup animationsc99779e
-
[feat] Add support for endpoint web sources (#1544)
goupilew +1: nsarrazinUnverified signature* [feat] Add support for endpoint web sources * chores: lint --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>eabf2bf
-
Feature - Scroll to Previous Message (#1440)
evalstate +1: nsarrazinUnverified signature* Added "Scroll to Previous Message" button. * update mobile positioning to 50% * fix linting issues in ScrollToPreviousBtn --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>367ce02
-
Maintain Conversation Tree State on Refresh or Share (#1397)
Unverified signature* Saving and reloading the current tree on page refresh * Saving and reloading the current tree on page refresh / Moving to the last branch when editing a user message or retrying an assistant message. * Update Reload the current tree state on page refresh * updated updateCurrentIndex function * Update updateCurrentIndex Function * Persist current tree in navigation/shared conversations v1 Co-authored-by: Kenneth Ramos <kenneth.ramos95@gmail.com> Co-authored-by: Eduardo Rocha <rocha092@csusm.edu> * Removed uncessary comment. Co-authored-by: Long Dao <hailongdao1017@gmail.com> Co-authored-by: Eduardo Rocha <rocha092@csusm.edu> * Added enhance import and document focus fix. Co-authored-by: Long Dao <hailongdao1017@gmail.com> Co-authored-by: Eduardo Rocha <rocha092@csum.edu> * Fixed code to have updated formatting and LoadEvent type in page.ts Co-authored-by: Long Dao <hailongdao1017@gmail.com> Co-authored-by: Eduardo Rocha <rocha092@csusm.edu> * run formatting * simplify pr…e58f3c4
-
feat(media): support audio & video files (#1408)
Unverified signaturec58d011
-
fix(tools): make sure component rerenders when switching conversations
Unverified signaturef7a8eb7 -
Fix "Copy" button styling. Relates to issue 1387 (#1403)
evalstate +1: nsarrazinUnverified signature* Fix styling of "Copy to Clipboard" button * Updated so that Code Block copy button behaves as before. * fix linting issue. --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>8918d96
-
Major bump to sveltekit & node-adapter versions (#1395)
Unverified signature* version bump * sveltekit2 bump * formatting * fix imports * fix deps * minor bump on chat-ui itself * better error logging * bump svelte-check version06feee8
-
feat(confirm): add confirm on deleting branch & sharing conversation (#1381)
Unverified signature* feat(confirm): add confirm on deleting branch & sharing conversation * lint0ee7e09
-
fix(ui): fix cut off buttons in chat message (#1373)
dlavrenuekUnverified signaturefix(ui): tool buttons in chat message587f3d3
-
Improve sanitization of model output (#1341)
Unverified signature* Improve sanitization of model output * make it compatible with SSR * fix formatting issues7a99944
-
Add "disable streaming tokens" settings & remove media query (#1299)
Unverified signatured3e9153
-
Revert "chore(deps): update major versions on svelte, sveltekit & node (#1281)"
Unverified signatureThis reverts commit 2e95674dc5821f3f891001d05873c6053b0784bf.77ea6f2 -
chore(deps): update major versions on svelte, sveltekit & node (#1281)
Unverified signature* Bump versions * fix checksa41af50
-
Feat: Delete branch #1210 (#1240)
Unverified signature* feat: delete branch #1210 * removed some files * lint * types & error handling * Improve query efficiency & add auth check * Icon styling * make it hover only --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>b21a61b
-
Add a loading bar for tools (#1188)
Unverified signature* Add a loading bar for tools * move css to right file * lighter purple and no rounding on the loading bar * Update src/routes/+layout.server.ts Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * Clear animation when done (#1191) * Clear animation when done * make the bar go to the end --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com> Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>2e21e16 -
Misc tools release (#1192)
Unverified signature* hide details triangle on safari * image size in chatmessage * truncate file name * fix a spacinga5070fd
-
Fix reduced motion mode causing 500 on ssr (#1177)
Unverified signatured42d427
-
Disable text streaming if user prefers reduced animation (#1131)
Unverified signature* Disable text streaming if user prefers reduced animation * Simplify filtering of stream updates --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>8e494b0
-
Add error message for tools (#1163)
Liam Dyer +1: nsarrazinUnverified signature* feat: add error message for tools * lint --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>baa4992
-
Function calling (#996)
Unverified signature* Initial work on function calling * wip * Add websearch as a tool * lint * smol * Move tools to their own files * directly answer check * Add text2img tool * group tool calls together * show retry even if no message * fix trailing urls * Add image popup * format * wip * clean-up * better loading indicator * text colors * extra example to summarize * switch default model * Add fetchUrl tool * wip * Add latest gradio * fix types * version bump sharp * Basic tools menu * working menu * fix menu positioning * deps fix * add deps * cleanup * more cleanup * cleanup * package cleanups * moar cleanup * ui update * Update ChatMessage.svelte * upgrade gradio dep * lint * refactor and pass results to cohere * feat: code interpreter tool * fix: add e2b dependency * feat: working TGI endpoint with tool results * feat: allow image model to expand to 90dvw * fix: dont block on title gen * bump sharp * misc cleanup * fix url fetcher, adjust tool typing *…564e576
-
Generic Multimodal Support Fixed (#1147)
Liam Dyer +2: nsarrazin, MishigUnverified signature* feat: multimodal anthropic support * docs: add claude haiku and multimodal support * feat: uploaded file detection and image conversion * fix deps with sharp * fix resvg deps? * fix: image conversion, retry with files * feat: generic image processing and size target * docs: multimodal review comments Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * docs: multimodal review comments Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * feat: review comment resolution * fix: type error on image params * feat: add multimodal for vertex ai anthropic * style: uploadFile timeout number Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * fix: TGI endpoints expecting multimodal --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>5b1a9aa
-
Revert "Generic Multimodal Support" (#1146)
MishigUnverified signatureRevert "Generic Multimodal Support (#1021)" This reverts commit 57f89346cc6d953246d0f1705e342e2e66fce386.3382639 -
Generic Multimodal Support (#1021)
Liam Dyer +2: nsarrazin, MishigUnverified signature* feat: multimodal anthropic support * docs: add claude haiku and multimodal support * feat: uploaded file detection and image conversion * fix deps with sharp * fix resvg deps? * fix: image conversion, retry with files * feat: generic image processing and size target * docs: multimodal review comments Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * docs: multimodal review comments Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> * feat: review comment resolution * fix: type error on image params * feat: add multimodal for vertex ai anthropic * style: uploadFile timeout number Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu> --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>46dd845