Spaces:
Runtime error
Runtime error
Commit History
-
feat(tree): Add ELK port-based layout and persona-specific branching
Andrewcb5990d
-
feat(utils): add tree layout algorithm for conversation visualization
Andrew4743f77 -
feat(utils): add legacy conversation converter for tree structure
Andrew78e67be -
feat(utils): add tree branching logic for finding message paths
Andrewddc185d -
feat(utils): add utility to reset active personas to defaults
Andrew5523d0b -
feat(utils): add persona color generation utility
Andrewf3975dd -
feat(utils): add message update handler for SSE stream
Andrew8d64b56 -
feat(utils): add message sender utility for handling chat requests
Andrew346fcd8 -
feat(utils): add message merging utility for persona responses
Andrew8bba2e0 -
feat(utils): add branch storage utility
Andrew6bd5f9f
-
(fix) Add stripThinkBlocks helper for reasoning tag removal
Andrew48df71b
-
Initial commit
725337f
-
fix CI (#1884)
Eliott C.Unverified signature* fix CI * add playwright as dev dep * lint * clean up spaces-config with community tools * try to make mongo run?3b53c7a
-
Enhance code token processing to include fenced block closure detection
aa9a52b
-
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: share feature
0790b8b
-
refactor: api cleanup (#1849)
Unverified signature5ad620b
-
refactor: use client API for spaces-config endpoint
93d2e4c
-
refactor: new API & universal load functions (pt. 2) (#1847)
Unverified signature* feat(API): refactor API with Elysia * feat: initial elysia setup * feat: replace conv/[id] load function with universal * fix: delete v1 catchall * wip * fix: response type * fix: add cors * feat: more routes in tools & assistants * refacto: use normal svelte fetch in `/assistant/[assistantId]` * refacto: use normal svelte fetch in `conversation/[id]` * feat: use universal load function for `tools/[toolId]` * wip: removing more server load function stuff * feat: more routes to universal load functions * feat: more routes to universal * refactor: move tools loading to API endpoint * refactor(api): implement tools search API endpoint and move load function * fix: types on tool search * refactor: update assistant route and remove redundant page load function * refactor(api): move assistants page load function to api call * refactor(settings): remove waterfall loading * refactor: main load function * fix: types * feat: improve fetchJSON to handle empty responses * …612f16b -
Revert "refactor: new API & universal load functions (#1743)"
This reverts commit 7961ae74d12cc62461929d92aca0adac48b72d9a.813f132 -
refactor: new API & universal load functions (#1743)
Unverified signature* feat(API): refactor API with Elysia * feat: initial elysia setup * feat: replace conv/[id] load function with universal * fix: delete v1 catchall * wip * fix: response type * fix: add cors * feat: more routes in tools & assistants * refacto: use normal svelte fetch in `/assistant/[assistantId]` * refacto: use normal svelte fetch in `conversation/[id]` * feat: use universal load function for `tools/[toolId]` * wip: removing more server load function stuff * feat: more routes to universal load functions * feat: more routes to universal * refactor: move tools loading to API endpoint * refactor(api): implement tools search API endpoint and move load function * fix: types on tool search * refactor: update assistant route and remove redundant page load function * refactor(api): move assistants page load function to api call * refactor(settings): remove waterfall loading * refactor: main load function * fix: types * feat: improve fetchJSON to handle empty responses * …50aea0a
-
fix: remove unnecessary error logging
d251d9a
-
feat(front): hide bottom disclaimer when focused on mobile
2c83099
-
fix: clamp update bouncer
47f81d6 -
refactor: improve rendering performance on low-end hardware (#1825)
Unverified signaturerefactor: improve rendering perf. on low-end hardware - Reintroduced MarkdownWorker for asynchronous processing of markdown content. - Debounce message content updates dynamically based on render timebe6d225
-
feat: allow storing env variable in DB (#1802)
Unverified signature* feat(config): wip, make config controllable from DB, public side for now * fix: build * feat(config): add config manager env var toggle * wip: make backend config use config manager * fix: typechecks * fix: circular import * refactor: init hook sveltekit * fix: disable config manager during tests * refactor: use enum for semaphore, move delete from auto after 60s to separate `deleteAt` field * feat: config manager checks for updates on requests * fix: config script exit * fix: remove top-level awaits * fix: script await * feat: filter config keys based on public environment variables for more security * fix: change import to type for public environment variables48059af
-
feat: add a local endpoint type for inference directly from chat-ui (#1778)
Unverified signature* feat: add a local endpoint type running llama.cpp from chat-ui * fix: build image * fix: lock file * wip: try to make it more reliable * feat: load chat template from .gguf file * feat: load gguf models from `models/` folder * fix: default config * feat: make endpoint use chatSession instead of completion * refactor: improve exit handling, exit immediately on second sinal * fix: various fixes to improve reliability when calling multiple models at once * docs: add instructions for adding .gguf files to the models directoryde36cdc
-
Add support for Jinja for chat model templates (#1739)
Ben Lewis +1: nsarrazin Unverified signature* Add support for Jinja for chat model templates * feat(docs): improve docs regarding templates --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>a513b1b
-
fix: code block copy button
10c62e9 -
feat(markdown): move highlighting to worker (#1741)
Unverified signature4df62c9
-
feat(front): use webworker for markdown parsing (#1733)
Unverified signature* feat(front): move markdown parsing to web worker * feat: use webworker for markdown parsing * feat(markdown-worker): implement message buffering and processing * fix(markdown): import KaTeX CSS locally instead of via CDN * fix(markdown): make sure messages are serializable * feat(markdown): make sure links have target blank * refactor(markdown): improve HTML escaping function formatting7d6fc19
-
Capture screen like similar to Claude (#1604)
Unverified signature* feat: capture screen * feat: make it work with latest tool UI * fix: add screenshot icon * Update src/lib/components/icons/iconScreenshot.svelte Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * fix: capitalization * fix: stop tracks in finally block * fix: revert chatwindow changes that shouldnt be there * fix: tooltip classes --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> Co-authored-by: Victor Muštar <victor.mustar@gmail.com>e442c7f
-
feat: new tool UI (#1630)
Unverified signature* feat: new tool UI * wip community tools support * fix: community tools support * fix: line heights * fix: MIME types * fix: remove debug logs * fix: make sure file upload is always last * fix: always enable document parser when a pdf is present in the conversation * fix: use correct icon for document upload * fix: make sure community tools use their custom icons correctly * feat: add button to browse community tools * tweak buttons * add some tooltips * fix: bug in file upload tooltips * fix: lint --------- Co-authored-by: Victor Mustar <victor.mustar@gmail.com>b104edb
-
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(front): fix clipboard copy on chrome (#1497)
Unverified signature2ac7abd
-
fix(share): use copy link on desktop (#1477)
Unverified signature15615aa
-
extend user count (#1455)
Unverified signatureUpdate formatUserCount.tsf688f60
-
fix(share): only give leafId when sharing a conversation
6cb4b46 -
feat(tools): specify either space namespace or huggingface.co URL (#1435)
Unverified signatureba9c926
-
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(front): make frontend smoothing configurable
c4c0dc8
-
chores(deps): update Transformers to latest version and remove chat templates for all models (#1414)
Unverified signature* chores(deps): update Transformers to latest version and remove chat templates for mistral models * feat(models): remove chatPromptTemplate everywherea0ed974
-
Community tools (#1250)
Unverified signature* wip community tools * push * fix * bugfix * pass inputs to gradio correctly * full inputs for imagegen * lint * update gradio * fix call to gradio * fix imagegen tool * fix name * fix image display * Community tools (#1297) * work on tools * wip * icon * page * use IDs for every tools * improve tools page * wip * add optimized deps * refacto 1tool=1function * Add preview page * fix active indicator * fix text alignment * fix populate script * tooledit * fixes * better inputs * fix console error & cancel button * upload new tools * edit * improve lint * working community tools * fix active featured check * Simplify outputs in user form * fix non file outputs * fix imagegen default tool * add community tools popup * redirect gradio API calls through chat-ui backend * better usecount * Better loading & output element * better redirects & auto activate * bugfixes * fix migration changes * Add feature flag for tools * fix tools menu * Keep tr…0c3e3b2
-
remove dead code (#1339)
Unverified signature8a3811e
-
Add "disable streaming tokens" settings & remove media query (#1299)
Unverified signatured3e9153
-
Fix max upload size in huggingchat (#1251)
Unverified signaturee59e6bd
-
Simplify tool error handling (#1168)
Liam Dyer +1: MishigUnverified signature* feat: simplify tool error handling * feat: resolve linting and type errors --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>aa0485a
-
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: nsarrazin Unverified 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