Spaces:
Runtime error
Runtime error
Commit History
-
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
-
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: code block copy button
10c62e9 -
feat(markdown): move highlighting to worker (#1741)
Unverified signature4df62c9
-
feat(codeblock): add monospace font to code block
b3ea80f
-
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
-
fix: extra newline in codeblock
Closes #1596bbf8562
-
fix: syntax highlighting works in SSR (#1583)
Unverified signaturefix: syntax highlighting in SSR, simplify CodeBlock component7fbdda1
-
Fix "Copy" button styling. Relates to issue 1387 (#1403)
evalstate +1: nsarrazin Unverified 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
-
Improve sanitization of model output (#1341)
Unverified signature* Improve sanitization of model output * make it compatible with SSR * fix formatting issues7a99944
-
🐛 Fix code formatting (#192)
Eliott CUnverified signature3d66144
-
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 plugin9273cbe
-
Add tailwind prettier (#123)
Adrien DenatUnverified signature* add tailwind-prettier plugin * lint all project files6a0861b
-
Styling improvements (#82)
Adrien DenatUnverified signature* add custom scrollbar everywhere * fix scroll to bottom button positioning + add hover * fix non-scrollable transparent area above input text * replace slate color by gray * add custom scrollbars for codeblock * fix chat messages overflowing on small viewports * fix codeblock scrollbar color on light mode + remove !important * fix send icon hover + make disabled buttons default cursor45dbaaf
-
layout misc
ab6b390
-
🐛 Remove sanitized < (#71)
Eliott CUnverified signature6385f42
-
Prettier update (#54)
Unverified signature* Update .prettierrc * prettify everthing prettify everything98051f8 -
remove unneeded hack in main.css (#51)
Adrien DenatUnverified signature622a237 -
refactor syntax highlighting, more performant + avoid flickering on copy to clipboard button (#49)
Adrien DenatUnverified signatured852bfd