Spaces:
Runtime error
Runtime error
Commit History
-
Initial commit
725337f
-
Add PersonaSelector component and redesign model/persona display with improved styling
1d87f01
-
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
-
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
-
style: update no scrollbar styles
1796fda -
fix: adjust z-index for CodeBlock component and update ChatInput max height for better responsiveness
9d03b5a -
Update model link and add provider SVGs
52e36d3 -
Enhance code token processing to include fenced block closure detection
aa9a52b -
Add image attachment support to router examples (#1883)
Unverified signatureSimplify image attachment implementation for router examples - Simplified RouterExampleAttachment type to only require src field - Removed resolveExampleSrc helper function in favor of direct path construction - Let browser infer MIME types from blob response - Reduced code complexity while maintaining functionalityd2390f1
-
fix lint job
1d449d6
-
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: add tick() to prevent textarea height adjustment failures (#1854)
calycekrUnverified signature- Add tick() after adjustTextareaHeight() in handleKeydown to ensure DOM updates are completed before the submit event is dispatched.64c1807
-
feat: implement delete message functionality using API client
106688c -
refactor: api cleanup (#1849)
Unverified signature5ad620b
-
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 -
feat(search): improve keyboard and mouse event handling for better UX (#1846)
calycekrUnverified signature* feat(search): improve keyboard and mouse event handling for better user experience - Improved Event Handling Mechanism - Added Event Handling for `handleBackdropClick` and ESC Key - Added Support for Apple macOS Command Key * fix: fix lintac12cc3
-
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
-
Search feature enhancements (#1841)
Vijay Rohit Kanchusthambham +1: nsarrazin Unverified signature* Added infinite scrolling to search feature. * Added code to highlight the search keyword in search description * feat: improve description layout * feat: improve search context finding * fix: remove all debug bits --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>7e91987
-
Fix chat input resizing issue when sending message with Enter key (#1840)
calycekrUnverified signatureEnsures textarea resizes properly before message submission with Enter keyc3962a6
-
[WIP] - Add the pop-up search (Ctrl/Command + K) to search entire conversation history (#1823)
Hong An Tran +2: krramos, nsarrazin Unverified signature* UI for crtl/command + k for conversation search * UI for ctrl/command+k * Added fetch conversations and filter conversations functions * WIP - finish with the first draft of popup-search * WIP - Finish the first version pop up search * WIP - Finish the first version pop up search * Remove unnecessary codes * Fixed formatting errors * Fixed formatting errors * refactor: search functionality * fix: revert those changes * fix: lint * chores: clean up unused comment --------- Co-authored-by: kenneth.ramos95 <kenneth.ramos95@gmail.com> Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>c6ccfa4
-
feat(test): add support for testing svelte components in isolation (#1692)
Unverified signature* feat(test): add support for testing svelte components in isolation * refactor: use `vitest-browser-svelte` for tests, fix markdownRenderer tests * test: remove todos on tests that pass * fix: deps & tests52778aa
-
feat(front): hide bottom disclaimer when focused on mobile
2c83099 -
fix(mobile): various mobile fixes
b3ec8c3
-
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
-
Fix incorrect touchscreen detection (#1824)
zvunUnverified signatureFix touchscreen detection3e49191 -
fix: (temp) disable markdown worker
53e0b80
-
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: assistant intro layout
7ba01e9 -
feat: rework assistant intro UI
8229efc -
feat: rework example layout to work better on mobile
2335377 -
fix: more styling/layout fixes
4fab3dd -
fix: make send button look more disabled
a1036ad -
fix: remove hardcoded font size on mobile
4247b40 -
fix: chat window more compact on mobile
fa5e19e
-
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
-
Fix auto-scroll issue with message streaming in Svelte 5 (#1790)
calycekr +1: nsarrazin Unverified signature* Fix auto-scroll issue with message streaming in Svelte 5 In Svelte 5, actions only update when the bound value changes by reference. Previously, snapScrollToBottom was bound to `messages`, which didn't trigger updates when only the content of a message changed during streaming. Updated binding to `messages.map(message => message.content)` to ensure the action reacts to content changes, restoring expected scroll behavior. * fix: lint --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>13e6f2c
-
fix: show file picker for assistant with mime types (#1763)
Unverified signature* fix: show file picker for assistant with mime types closes #1652 * fix: lint83ddae9
-
fix: remove legacy run in ChatWindow.svelte
1f73dd7 -
fix: remove legacy run in `ChatMessage.svelte`
221919b
-
fix: file type matching from clipboard (#1748)
Unverified signaturefix(chat): update file type matching fix upload image from clipboard when type is `*` Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>7a0286e
-
feat(chat): auto-open reasoning results on loading
7af88de
-
Revert "feat(front): autoscroll at bottom on ssr (#1740)"
This reverts commit 111d059b1218d4a2bdba8c15b474f48e63555fff.b94a87f -
fix: code block copy button
10c62e9 -
feat(front): autoscroll at bottom on ssr (#1740)
Unverified signatureuse a reverse column flexbox so that the default scroll position is at the bottom2fb222a -
feat(markdown): move highlighting to worker (#1741)
Unverified signature4df62c9