Spaces:
Runtime error
Runtime error
Commit History
-
feat(tree): Add ELK port-based layout and persona-specific branching
Andrewcb5990d
-
feat(api): expose HF token status on user endpoint
Andrewabdf303
-
Add persona usage check so deletions archive in-use personas
Andrew69e900d
-
Initial commit
725337f
-
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
-
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
-
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: search function
261d24c
-
[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: 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: admin CLI login (#1789)
Unverified signature* feat: implement admin token management and CLI login functionality - Added `ADMIN_CLI_LOGIN` and `ADMIN_TOKEN` to the environment configuration. - Introduced `AdminTokenManager` for handling admin sessions and token validation. - Updated user session handling to include admin status. - Enhanced API routes to utilize admin checks based on the new token management. - Modified frontend components to reflect admin status correctly. - Added a new endpoint for validating admin tokens. * fix: remove token after validationafbe0de
-
feat(api): use api for tools & assistants (#1707)
Unverified signature* feat: move reporting functionality to API for assistants and tools * feat: add review API endpoints for assistants and tools * feat(api): setup delete API endpoints for assistants and tools * fix: show toast error if endpoint throws error * feat(api): add subscribe/unsubscribe API endpoints for assistants * fix: lint * refactor: use API endpoints for assistant creation/edit * feat: delete tool forms * feat: use API endpoints for tool creation/edit2e4269d -
feat(api): replace all conv deletion form by API endpoint (#1695)
Unverified signaturefeat(settings): replace all conv deletion form by API endpoint6041b51 -
feat(api): replace form-based branch deletion with fetch API (#1694)
Unverified signature* feat(chat): replace form-based branch deletion with fetch API * fix: error display23637ad
-
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
-
feat: add reasoning trace to conversation api (#1665)
Unverified signaturea3e90c1
-
feat: infinite scrolling list of conversations (#1564)
Unverified signature* wip * wip: infinite scrolling continues * fix: merge regression * fix: infinite scrolling * fix: unify use of base over APP_BASE * fix: show loader properly when invalidating after reaching end of page5290cbb
-
fix: assistants flow
c3aee90 -
fix: assistants feature flow
- show only approved assistants on community page - show pending & approved on user specific page - remove gt>1 user count filter - remove red outline around unfeatured assistants for non-admins55af7c5
-
feat: Update featured workflow to allow user to submit featured requests (#1510)
Unverified signature* feat: Update featured workflow to allow user to submit featured requests * fix: merge conflict * fix: styling of buttons69c6804
-
feat: add link to API playground for compatible models (#1488)
Unverified signature* feat: add link to API playground for compatible models * fix: move buttons to correct spot * fix: inference API placement buttoncdc7abc
-
feat(tools): remove feature flag for tools and use env variable instead (#1433)
Unverified signature6a5e4c9 -
fix(assistants): remove websearch from assistant tool options, add websearch in backend logic (#1465)
Unverified signaturecloses #1464439b391
-
fix(tools): regex validation
1f110a3 -
feat(tools): specify either space namespace or huggingface.co URL (#1435)
Unverified signatureba9c926 -
fix(tool): featured required for everyone except admins
let admins see all tools96f1e36
-
feat(assistants): use community tools in assistants (#1421)
Unverified signature* wip: give assistant tool access * add api endpoints * add/delete tools from assistant settings * make tools work with assistants * feat(tools): add more tools indicator throughout UI * formatting10b8070
-
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
-
add messages updates in the conversation.messages api (#1327)
Kevin CATHALYUnverified signature68e7bc1
-
add new parameter in model and conversation api (#1325)
Kevin CATHALY +2: Kevin CATHALY, nsarrazin Unverified signatureCo-authored-by: Kevin CATHALY <alaknorth@gmail.com> Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>e18e7a5
-
add files in the conversation[id] api (#1300)
Kevin CATHALY +1: Kevin CATHALYUnverified signatureCo-authored-by: Kevin CATHALY <alakme@kevins-mbp.home>6f5895e
-
add missing assistantId param (#1156)
Kevin CATHALYUnverified signature7ae6b59 -
add assistantId in the conversation API (#1154)
Kevin CATHALYUnverified signature60ddb23
-
Move vars to dynamic, add metrics (#1085)
Unverified signature* Add healthcheck route * Add prom client with basic metrics * wip: serve metrics on a different port * exclude server from tsconfig * latest * refacto(all): use class & singleton * refacto(all): use class & singleton * refacto(all): add request logs * Make all the env vars dynamic (#1092) * Add truncate to task model (#1090) * retry text area height (#1091) * Make all the env vars dynamic * only check for db at runtime * remove secret from build step * improve dockerfile * Wrap db in singleton * add .env.local to dockerignore * changes to dockerfile * lint * aborted generations * move collections build check * Use a single dockerfile * lint * fixes * lint * don't return db during building * remove dev --------- Co-authored-by: Victor Muštar <victor.mustar@gmail.com> * refacto(all): update default metrics port * fix recursion error * add version check * revert vite preview * Move request logs to debug level and add an env var to filter by log level in d…a8a9533
-
return only valid models in the API (#1064)
Kevin CATHALYUnverified signatureed00145 -
add default value for description and examples in the API route for models (#1063)
Kevin CATHALYUnverified signature4fba103
-
Final fix to assistants display logic (#1056)
Unverified signature8af99d6 -
Only require featured assistants for other users' assistants (#1054)
Unverified signaturea54aa20 -
fix: See all your assistants regardless of usercount (#1053)
Unverified signaturecfb13b9 -
Move featured assistant check behind `REQUIRE_FEATURED_ASSISTANTS` (#1043)
Unverified signatureMove featured assistant check behind `REQUIRE_FEATURED_ASSISTANTS` env var (#997)0f622fd
-
add an endpoint to api to get an assistant by id (#1020)
Kevin CATHALYUnverified signature0402d07
-
Limit number of fetched conversations in the API (#954)
Unverified signature* Limit number of fetched conversations in the API * Add pagination * use var0e4a83d
-
add api assistants endpoints (#951)
Kevin CATHALY +2: Kevin CATHALY, nsarrazin Unverified signature* add api assistants endpoints * lint --------- Co-authored-by: Kevin CATHALY <alakme@kevins-macbook-pro.home> Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>49c7cc5 -
Count system prompt tokens (#850)
Mishig +1: nsarrazin Unverified signature* Count sysmte prompt tokens * show error only once * fix * fix css * simplify * fix * simplify * Revert "simplify" This reverts commit 61c0a2281f9795c4a4351d9ad473993a3c01c59f. * `model.tokenizer` config & fix reactivity issues * rm gated tokenizer * use `truncate` --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>ff934bb
-
Models page (#849)
Unverified signature* add models page * add logo * models discussion * add default hint * Update +page.svelte * mishig review * fix typecheck --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>b1253fd
-
add an api endpoint to get current user's informations (#763)
Kevin CATHALYUnverified signaturec2664d9