* give generic error messages for embed chat widget
* give generic errors on embed chat errors but log to console
* lint
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* fix indentation of citations
* fix outlines of input fields to be consistent
* remove red from trash icons
* fix margin from input title
* remove unused component and remove borders on provider search inputs
* make back arrow less opacity in onboarding to highlight next arrow
* fix spacing on all provider options (llm, vectordb, embedder
* patch llm providers that have manual inputs for model pref
* refactor agent model fallback
update UI to show disabled providers to stop questions about provider limitations
* patch log on startup
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* implement custom PDFLoader to remove LC dep
* remove unneeded comment
* remove pdfjs as dep and fix page splitting using pdf-parse
* linting + export rename for desktop compat
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* implement new settings sidebar v2
* store state of settings menu in localstorage to improve ux
* add tailwind color
* add missed admin translation
* fix admin pages showing on single user
* perms fix for manager role
* refactor permissions for options on sidebar
* minor refactor of menuoption
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* implement new chat tools ui + bump phosphor icons package for new icons
* move TTS button below user image/fix styling
* Show tools on hover
update package deps
* patch styles for desktop
* fix more actions tooltip and disable hide/show on hover for mobile
* z-index on mobile patch
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* implement delete message feature
* add new delete chat endpoint that just hides messages from ui and fix perms
* refactor: add delete-event hooks for delete so we dont need to pass so much
refactor: implmentation of delete endpoint PUT
* update animation
linting
remove element on animiation to prevent popin
* linting and cleanup imports
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>
* implement thread forking feature
* rename thread based on forked message
* refactor bulk message create for thread fork + bump prisma version
* revert prisma version bump
* add todo to bulkCreate function in workspace chats
* cast user input to expected type to prevent prisma injection
* refactor: update order of ops for thread fork
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
* WIP replace langchain pdfloader with pdfjs and add more context to each page
* remove extras from pdfjs and just replace langchain library
* remove unneeded dep
* fix console log in docs
---------
Co-authored-by: timothycarambat <rambat1010@gmail.com>