Spaces:
Runtime error
Runtime error
Commit History
-
Initial commit
725337f
-
Add PersonaSelector component for quick persona switching
76a5c60 -
Add PersonaSelector component and redesign model/persona display with improved styling
1d87f01 -
Remove custom system prompt modal component
1e34c9f -
Add personas navigation link with dynamic count to sidebar menu
2aa62b9
-
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: enhance logging and timeout handling in BackgroundGenerationPoller component
808bcfb -
Add background generation polling for conversation updates (#1882)
Unverified signature* Add background generation polling for conversations Introduces a BackgroundGenerationPoller Svelte component and store to track and poll background conversation generations when users navigate away during loading. Updates conversation streaming server logic to persist messages if the client detaches, ensuring conversation state is saved. Integrates poller into layout and conversation page, improving reliability of background message generation and UI updates. * Improve background generation polling and loading state * Refactor backgroundGenerations store to use $state * Update +server.ts * Harden background generation polling * Format updated polling flows4326cd6 -
fix: improve layout responsiveness in ChatMessage component by binding message dimensions and adjusting classes
c62aca6 -
fix: adjust spacing and styles in ShareConversationModal and MobileNav components
17a7bb7
-
style: update no scrollbar styles
1796fda -
fix: adjust z-index for CodeBlock component and update ChatInput max height for better responsiveness
9d03b5a -
light theme: Update code block styles and highlight.js themes
5a9c360 -
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
-
feat: use api client for tool badge
d10acfe -
fix: nav conversation item layout
02b74dc
-
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 -
fix: drawer shadow
39db86d -
feat: rework example layout to work better on mobile
2335377 -
fix: padding on theme icon
b7217a0 -
feat: drawer tap to close on left
39e1646 -
feat: add simple light/dark mode toggle
782a4fb -
feat: mobe about & privacy to settings
4ddaa1a -
fix: more styling/layout fixes
4fab3dd