* return 400 if user creation failed
The client might not check the error field unless they realize it's a 4xx error instead of 200 success.
* Update index.js
* use one-liner style
---------
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
* Added Supported Models Free Tier - chat_models.txt
Need to fill in correct Parameter Count.
* Bump perplexity model
closes#1901closes#1900
---------
Co-authored-by: Tim-Hoekstra <135951177+Tim-Hoekstra@users.noreply.github.com>
* bump base image
* Bump mysql
* attestations
* attestations perms
* attestations perms
* fix permissions for attestetions for master push
* test cleanup
* repin base image
* revert base
* patch frontend-clean
* force resolve braces to fixed version
* rebump
* 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>