Spaces:
Paused
Paused
Commit History
-
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
-
[WIP] - Add the pop-up search (Ctrl/Command + K) to search entire conversation history (#1823)
Hong An Tran +2: krramos, nsarrazinUnverified 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(front): hide bottom disclaimer when focused on mobile
2c83099
-
fix: more styling/layout fixes
4fab3dd -
fix: make send button look more disabled
a1036ad -
fix: chat window more compact on mobile
fa5e19e
-
Fix auto-scroll issue with message streaming in Svelte 5 (#1790)
calycekr +1: nsarrazinUnverified 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: remove legacy run in ChatWindow.svelte
1f73dd7
-
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
-
Revert "feat(front): autoscroll at bottom on ssr (#1740)"
This reverts commit 111d059b1218d4a2bdba8c15b474f48e63555fff.b94a87f -
feat(front): autoscroll at bottom on ssr (#1740)
Unverified signatureuse a reverse column flexbox so that the default scroll position is at the bottom2fb222a
-
chores(svelte): migrate `$app/stores` to `$app/state` (#1693)
Unverified signatured433b55
-
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
-
Simplify frontend for conversation tree representation (#1678)
Unverified signature* Simplify frontend for conversation tree representation * fix lint * get initialState * rm unused Message[currenrtChildIdx] * fix delete branch * comment * change lines order * use existing `assistant` prop in `ChatWindow.svelte` * Update src/routes/conversation/[id]/+page.svelte Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> * fix: rendering of message when switching branches --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>6216bfd
-
Rm unused prop (#1670)
Unverified signature* Rm unused prop * fix lintc025511
-
Chat input UI updates (#1641)
Unverified signature* remove extra margin * chatinput * add missing auto * fix: lint * feat: add fixed to parent container to prevent bouncy scroll on ios --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>94ed0cf
-
feat: show login modal if login is required for creating assistants & tools (#1640)
Unverified signature14ef8d0
-
fix: lint
468c9ce
-
input quick fix
send button was hidden on mobilefd6c311
-
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
-
Revert added margin (#1603)
Unverified signatureCo-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>85b38e3 -
fix: make scrollbar visible again
3bd2dd8
-
fix: a11y improvements
0031e51
-
fix: bump copy limit into conversation
Unverified signature01b3b9f
-
fix: bump char limit for paste to 1000
36164db -
feat: add setting option to disable content pasting
821697c -
feat: paste long context as plaintext files (#1549)
Unverified signature* feat: paste long context as a file * fix: anim sources * fix: animations * feat: actually inject plaintext files in the prompt * filter out files that are plain text * feat: use custom MIME type for clipboard content * feat: add better UI affordance for pasting * fix: cleanup animationsc99779e
-
fix: show file upload button when assistant has tool with file support (#1532)
Unverified signature256631f
-
[vertex] Add PDF/plein texts support (#1520)
goupilewUnverified signature* [vertex] Add PDF support * [vertex] Fix lint * [vertex] Add support for text/plainaa59751
-
fix: hide file preview while loading
Unverified signature2d394d3 -
fix: upload of files on multimodal assistant on first message (#1513)
Unverified signaturethere was a bug that prevented users from uploading images to assistants before starting a conversation13ed034
-
Remove right margin from custom scrollbar (#1498)
Unverified signatureCo-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>57b36aa
-
Feature - Scroll to Previous Message (#1440)
evalstate +1: nsarrazinUnverified signature* Added "Scroll to Previous Message" button. * update mobile positioning to 50% * fix linting issues in ScrollToPreviousBtn --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>367ce02
-
feat(conv): let user switch models on conversations with deprecated models (#1462)
Unverified signature* feat(conv): let user switch models on conversations with deprecated models * lint * fix checks388034d
-
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
-
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
-
Major bump to sveltekit & node-adapter versions (#1395)
Unverified signature* version bump * sveltekit2 bump * formatting * fix imports * fix deps * minor bump on chat-ui itself * better error logging * bump svelte-check version06feee8
-
feat(confirm): add confirm on deleting branch & sharing conversation (#1381)
Unverified signature* feat(confirm): add confirm on deleting branch & sharing conversation * lint0ee7e09
-
fix(ui): fix cut off buttons in chat message (#1373)
dlavrenuekUnverified signaturefix(ui): tool buttons in chat message587f3d3
-
UX: Dropzone (#1350)
Unverified signature* nav: more compact * drop window trigger * fix z-index * border width --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>5ddf84d
-
fix(screen-reader): disable FileDropZone area-label for models without file upload (#1295)
Unverified signatureCo-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com>e9e6405
-
Revert "chore(deps): update major versions on svelte, sveltekit & node (#1281)"
Unverified signatureThis reverts commit 2e95674dc5821f3f891001d05873c6053b0784bf.77ea6f2 -
chore(deps): update major versions on svelte, sveltekit & node (#1281)
Unverified signature* Bump versions * fix checksa41af50
-
Hide upload button when tools are not available (#1245)
Unverified signature* Hide upload button when tools are not available * lint3c43b1b
-
feat: mime types on tools, show upload btn on demand (#1204)
Liam Dyer +2: nsarrazin, victorUnverified signature* feat: mime types on tools, show upload btn on demand * feat: enable and disable all tools button * feat: minor tools ui changes and nits * Only paste or drop the allowed MIME types (#1222) * Only allow specific MIME types when pasting * lint * Simplify upload button show logic Since we already take into account if the model is multimodal above * Add mime type check to file dropzone * Make error clearer * enable/disable same button * cs * rm unused --------- Co-authored-by: Nathan Sarrazin <sarrazin.nathan@gmail.com> Co-authored-by: Victor Mustar <victor.mustar@gmail.com>fd7f926 -
feat: support file pasting in chat input (#1206)
Liam Dyer +1: MishigUnverified signature* feat: support file pasting in chat input * Forward paste event & simplify pasted file logic (#1212) Forward paste event & simplify file logic --------- Co-authored-by: Mishig <mishig.davaadorj@coloradocollege.edu>41370a8
-
Enable dropzone on tools (#1211)
Unverified signature* Enable file dropzone on tools * Change text based on tools or multimodal * lint * commentb70b72a