Commit Graph

567 Commits

Author SHA1 Message Date
Timothy Carambat
644a35a32a
Patch UI bug with agent skill web-search and sql-connector (#2282)
* Patch UI bug with agent skill

* wrap call in try/catch for failures
res?. optional call for settings since null is default

* uncheck
2024-09-13 17:46:24 -07:00
timothycarambat
297b8aaf01 update doc links and readme 2024-09-12 16:12:36 -07:00
timothycarambat
f8a40faeaf Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-09-12 16:09:16 -07:00
Timothy Carambat
de9f9a0ce8
UI Cleanup (#2270)
Remove FineTuningBanner
remove AgentAlert for first time users
2024-09-11 13:17:29 -07:00
Timothy Carambat
c612239ecb
Add Gemini exp models (#2268)
Add Gemini  models
resolves #2263
2024-09-11 13:03:14 -07:00
timothycarambat
7f2b344a90 update 128k label for Azure models
resolves #2264
2024-09-11 12:39:32 -07:00
Timothy Carambat
d1103e2b71
Add support for custom agent skills via plugins (#2202)
* Add support for custom agent skills via plugins
Update Admin.systemPreferences to updated endpoint (legacy has deprecation notice

* lint

* dev build

* patch safeJson
patch label loading

* allow plugins with no config options

* lint

* catch invalid setupArgs in frontend

* update link to docs page for agent skills

* remove unneeded files

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-09-10 17:06:02 -07:00
Sean Hatfield
f3f6299aae
Fix UI for slash cmd presets (#2260)
* fix ui for slash cmd presets

* hide scroll

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-09-10 15:16:27 -07:00
Timothy Carambat
86f4466afb
remove Jazzicons & Add default pfps (#2233)
remove Jazzicons
update pfps
2024-09-06 12:29:11 -07:00
Timothy Carambat
b8b55b5899
Feature/add searchapi web browsing (#2224)
* Add SearchApi to web browsing

* UI modifications for SearchAPI

---------

Co-authored-by: Sebastjan Prachovskij <sebastjan.prachovskij@gmail.com>
2024-09-05 10:36:46 -07:00
Timothy Carambat
aa4c9533aa
Feature/use escape key to close documents modal (#2222)
* Add ability to use Esc keypress to close modal for documents

* move escape close to hook

---------

Co-authored-by: Mr Simon C <iamontheinternet@yahoo.com>
2024-09-04 16:42:40 -07:00
timothycarambat
5c40419a27 remove system setting cap on messages (use at own risk) 2024-08-30 15:21:01 -07:00
timothycarambat
a07ff1a394 patch scrollbar on msgs
resolves #2190
2024-08-30 14:28:06 -07:00
Sean Hatfield
86ba16acdc
Add new Voyage AI embedding models (#2193)
new voyageai embedding models
2024-08-29 14:11:00 -07:00
Timothy Carambat
bc0cc20678
handle onblur for emebed domains (#2199)
bump browser extension commit
handle onblur for emebed domains
2024-08-29 14:10:41 -07:00
timothycarambat
47a5c7126c Patch path traversal in move-files that can be used by administrator level attacker only 2024-08-27 16:19:12 -07:00
Timothy Carambat
29df483a27
AnythingLLM Chrome Extension (#2066)
* initial commit for chrome extension

* wip browser extension backend

* wip frontend browser extension settings

* fix typo for browserExtension route

* implement verification codes + frontend panel for browser extension keys

* reorganize + state management for all connection states

* implement embed to workspace

* add send page to anythingllm extension option + refactor

* refactor connection string auth + update context menus + organize background.js into models

* popup extension from main app and save if successful

* fix hebrew translation misspelling

* fetch custom logo inside chrome extension

* delete api keys on disconnect of extension

* use correct apiUrl constant in frontend + remove unneeded comments

* remove upload-link endpoint and send inner text html to raw text collector endpoint

* update readme

* fix readme link

* fix readme typo

* update readme

* handle deletion of browser keys with key id and DELETE endpoint

* move event string to constant

* remove tablename and writable fields from BrowserExtensionApiKey backend model

* add border-none to all buttons and inputs for desktop compatibility

* patch prisma injections

* update delete endpoints to delete keys by id

* remove unused prop

* add button to attempt browser extension connection + remove max active keys

* wip multi user mode support

* multi user mode support

* clean up backend + show created by in frotend browser extension page

* show multi user warning message on key creation + hide context menus when no workspaces

* show browser extension options to managers

* small backend changes and refactors

* extension cleanup

* rename submodule

* extension updates & docs

* dev docker build

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-08-27 14:58:47 -07:00
Jeff Scott Ward
fc6d7359b6
Mobile render fix (#2176)
Allows for the reflowing of text and not breaking the parent box due of display flex container. Does not change any pre-existing classes only specifies further that it should stay inside.
2024-08-26 14:35:53 -07:00
hejp001
12df88b2c5
Update common.js (#2179) 2024-08-26 13:25:17 -07:00
hejp001
5507c352af
Update common.js (#2165)
Several entries have been modified.
2024-08-22 23:01:30 -07:00
hejp001
ae3c26b50e
Update common.js (#2148)
Translated several entries.
2024-08-20 12:43:13 -07:00
timothycarambat
ea38b661f7 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-08-19 14:05:19 -07:00
Timothy Carambat
96e720ee79
Added Hebrew language (#2143)
* Added Hebrew

Added Hebrew

* Update resources.js

Added Hebrew

* Update BARE_METAL.md

Activation for Windows

* Update common.js

Language corrections

* unset docs changes
* update `iw` to modern ISO 639 code `he`

---------

Co-authored-by: start-life <96779864+start-life@users.noreply.github.com>
2024-08-19 11:27:50 -07:00
Timothy Carambat
f7d1940677
Support suggestions of messages for empty chat in widget (#2133)
* Support suggestions of messages for empty chat in widget

* publish
2024-08-16 19:19:39 -07:00
Timothy Carambat
a8d25c7dd3
Allow readable username passed in script widget (#2131) 2024-08-16 16:55:42 -07:00
Sean Hatfield
1dad4d9409
Fix multi-user setup bug for invalid username/password (#2130)
* fix multiuser setup bug for invalid username/password

* handle user creation failed gracefully and delete user on fail
2024-08-16 12:55:14 -07:00
timothycarambat
0c86a26601 merge with master 2024-08-15 15:30:57 -07:00
Sean Hatfield
df248d40d9
Fix tooltip showing on both sides of file picker (#2124)
fix tooltip showing on both sides of file picker
2024-08-15 12:17:43 -07:00
Sean Hatfield
fd16773295
Fix markdown styling for rendered images (#2125)
fix md styling for rendered images
2024-08-15 12:17:05 -07:00
Sean Hatfield
dfb951e9cf
Auto URL detection for localai (#2083)
* implement auto url detection for localai

* add ports to localai common urls
2024-08-12 16:12:11 -07:00
Sean Hatfield
fce0d8b709
Improve search of document picker (#2097)
improve search of document picker
2024-08-12 13:08:43 -07:00
timothycarambat
8fc547e78a Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-08-12 11:59:46 -07:00
Sean Hatfield
26959563e5
Finetune ui improvements (#2053)
* WIP finetune ui improvements

* lint

* update order details page finetuning ui

* data upload, confirmation, and order placed finetune ui update

* update finetune layout

* remove unneeded imports

* uncomment url

* confirmation and data upload component ui updates

* finetun main container layout fix
2024-08-12 11:49:53 -07:00
Mr Simon C
89c8fae15f
Update the display to show 95% of the width on small screens, else 635px (#2089)
update the display to show 95% of the width on small screens, else 635px
2024-08-12 09:55:25 -07:00
timothycarambat
1e8d752a54 dont override default tailwind pulse 2024-08-09 13:00:12 -07:00
Sean Hatfield
53d64f30b1
Slash commands edit bug fix (#2073)
slash commands edit bug fix
2024-08-08 13:37:17 -07:00
timothycarambat
74d5f3adc5 debounce piper button 2024-08-07 14:28:57 -07:00
Roman Rojas
6a0f068bec
1603 speech to text hotkey (#1771)
* Added ctrl + enter hotkeys to init speach to text

* Ran linter

* Fixed speech transcript from being submitted twice when the user clicks the send button. Updated speech hotkeys.

* Added pulse animation to mic

* Fixed prompt double-send when clicking the send button or ending the TTS session.

* Fixed comment grammar

* Update mic hotkeys

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-08-07 12:00:01 -07:00
Timothy Carambat
d93c43fe68
Add German Translation support (#1889) 2024-08-07 11:37:45 -07:00
Sean Hatfield
c97066526a
New user account validations (#2037)
* force lowercase and no space for new and
 edit user modals

* edit account modal validations

* use pattern for form validation + remove validations from edit user

* revert comment deletions

* comment fix

* update validation message

* update regex
allow updating by block name changes to invalid names

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-08-07 11:35:37 -07:00
Timothy Carambat
d072875e43
Add piperTTS in-browser text-to-speech (#2052)
* Add piperTTS in-browser text-to-speech

* update vite config

* Add voice default + change prod public URL

* uncheck file

* Error handling
bump package for better quality and voices

* bump package

* Remove pre-packed WASM - will not support offline first solution for docker

* attach TTSProvider telem
2024-08-07 11:09:51 -07:00
Timothy Carambat
b4f80c3be2
Add support for markdown/math equations (#2062) 2024-08-07 10:27:21 -07:00
Timothy Carambat
0141f91dda
Hide upload element for default role users (#2061)
resolves #2060
2024-08-07 08:39:07 -07:00
Ramon Oliveira
f787502755
Adds full Brazilian Portuguese translation for the user interface (#2054)
Adds the complete Brazilian Portuguese translation for the user interface.
2024-08-06 09:45:28 -07:00
Martín
e28c7412c2
Fix typo (#2041) 2024-08-05 09:18:25 -07:00
timothycarambat
0938850435 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-08-02 13:30:48 -07:00
Sean Hatfield
7273c892a1
Ollama performance mode option (#2014)
* ollama performance mode option

* Change ENV prop
Move perf setting to advanced

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-08-02 13:29:17 -07:00
timothycarambat
c601e0d5c6 linting 2024-08-02 12:24:08 -07:00
Glauco
9a09bac213
Added Italian translation (#2025)
* feat: added italian frontend translation
2024-08-02 10:51:05 -07:00
RahSwe
c55ef33fce
Gemini Pro 1.5, API support for 2M context and new experimental model (#2031) 2024-08-02 10:24:31 -07:00
timothycarambat
aa3141aa4b Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-07-31 14:14:04 -07:00
timothycarambat
187f6ed9e6 remove unused state 2024-07-31 12:13:22 -07:00
timothycarambat
faa341c33b remove duplicate case stmt 2024-07-31 11:33:30 -07:00
timothycarambat
3f5b2485d7 handle chat edge-case for response object in text field 2024-07-31 11:31:22 -07:00
Timothy Carambat
38fc181238
Add multimodality support (#2001)
* Add multimodality support

* Add Bedrock, KoboldCpp,LocalAI,and TextWebGenUI multi-modal

* temp dev build

* patch bad import

* noscrolls for windows dnd

* noscrolls for windows dnd

* update README

* update README

* add multimodal check
2024-07-31 10:47:49 -07:00
Sean Hatfield
3856a4d19c
Drag and drop file colors update & margin styles (#2000)
drag and drop file colors update & margin styles
2024-07-30 19:07:24 -07:00
timothycarambat
2ee5d20955 patch bad import 2024-07-30 17:52:20 -07:00
Timothy Carambat
d877d2b7ad
Add drag-and-drop to chat window (#1995)
* Add drag-and-drop to chat window

* add uploader icon and remove empty space text when attachments are present

* color theme

* color update
2024-07-30 10:26:16 -07:00
Timothy Carambat
5e73dce506
Enable editing of OpenRouter stream timeout for slower connections (#1994) 2024-07-29 11:49:14 -07:00
Timothy Carambat
13bb06013b
Fix GroqAI picker UI bug (#1993) 2024-07-29 11:16:00 -07:00
timothycarambat
013c0b9575 remove LMStudio restriction for model selector 2024-07-26 10:53:05 -07:00
timothycarambat
6bab8b5bd4 ui adjustments for order flow
back nav on order flow
fix bad schema ref
2024-07-25 14:10:17 -07:00
timothycarambat
949a35106e Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-07-25 11:10:09 -07:00
Timothy Carambat
61e214aa8c
Add support for Groq /models endpoint (#1957)
* Add support for Groq /models endpoint

* linting
2024-07-24 08:35:52 -07:00
timothycarambat
a99deaa89e merge with master 2024-07-23 17:29:41 -07:00
Timothy Carambat
23de85a3bd
Revert odbc support (#1936)
* Revert "Patch ODBC support from missing binary/headers for node-odbc"

This reverts commit 9de6b1cc26.

* Revert "OBDC Support (#1933)"

This reverts commit cd597a361e.
2024-07-23 17:27:39 -07:00
Timothy Carambat
9366e69d88
Add AWS bedrock support for LLM + agents (#1935)
add AWS bedrock support for LLM + agents
2024-07-23 16:35:37 -07:00
timothycarambat
714f88891d Merge conflicts 2024-07-23 12:48:25 -07:00
Timothy Carambat
cd597a361e
OBDC Support (#1933)
* add possibility to connect to SQL Base by ODBC

---------

Co-authored-by: suchaudn <nicolas.suchaud@legrand.fr>
Co-authored-by: nicho2 <nicho2@laposte.net>
2024-07-23 12:42:53 -07:00
Timothy Carambat
42235fcd8a
GitLab Hosted and Local Connector (#1932)
* Add support for GitLab repo collection as well as Github Repo collection
* Refactor for repo collectors to be more compact

---------

Co-authored-by: Emil Rofors <emirof@gmail.com>
2024-07-23 12:23:51 -07:00
timothycarambat
08825ba30e Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-07-23 08:34:53 -07:00
timothycarambat
4f07139e38 patch SSR loaded icon to regular path
resolves #1930
2024-07-23 07:58:43 -07:00
Timothy Carambat
f8e54b2328
Fine tuning order flow (cloud-based) (#1923)
* WIP fine-tuning order flow

* flow patches and typo

* Refine steps
add fine tuning CTA on chat page
add fine tuning banner and validation endpoints
add finetuning banner on relevant pages with perms check

* Add prod firebase url
2024-07-22 17:59:17 -07:00
Timothy Carambat
76aa2a4fd4
Implement support for selecting basic keep_alive times for Ollama (#1920) 2024-07-22 14:44:47 -07:00
Timothy Carambat
3198718975
Update references to new domain (#1916) 2024-07-22 11:05:34 -07:00
timothycarambat
da1e41505b merge with master 2024-07-19 16:00:31 -07:00
Timothy Carambat
8180787c2e
Enable editing and setting of meta-tag information (#1892)
* Enable editing and setting of meta-tag information

* cleanup

* tmp build for testing

* finally always refresh

* unset workflow

* dev build

* rm tmp build
2024-07-19 15:58:43 -07:00
timothycarambat
4ff57eee4b Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-07-19 15:11:56 -07:00
timothycarambat
6e10f13e15 linting hotfix 2024-07-19 15:10:32 -07:00
timothycarambat
78e2a59170 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-07-19 09:52:26 -07:00
Timothy Carambat
b275008b19
Docker image updates (#1896)
* 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
2024-07-19 08:09:32 -07:00
Sean Hatfield
d037ab27f4
[FEAT] Generic error messages for embed chat widget (#1861)
* 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>
2024-07-15 12:40:29 -07:00
Sean Hatfield
f553f07ec5
[FEAT] Implement auto detect URL for KoboldCPP (#1860)
* implement auto detect url for koboldcpp

* remove unneeded import

* border-none inputs and buttons

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-07-15 11:39:48 -07:00
ux-builder
f367d82ebd
Add Korean translation + add more translation items (#1863)
* Add Korean translation

* Modal Password translation complement

* Add a SettingsSidebar translation

* DefaultChat translation complete

* New Workspace translation complete
2024-07-15 11:32:57 -07:00
timothycarambat
a56c124543 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-07-11 15:58:21 -07:00
Sean Hatfield
36c5cd16c7
[REFACTOR] Refactor window path location for settings sidebar (#1856)
use useLocation hook instead of href for window location
2024-07-11 15:57:41 -07:00
Sean Hatfield
2f620163ff
[STYLE] Fix UI bugs (#1764)
* 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
2024-07-11 14:18:34 -07:00
Sean Hatfield
8f0af88332
[FIX] Fix manual input model pref for agents (#1848)
* 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>
2024-07-11 14:03:24 -07:00
Sean Hatfield
881c4bc4de
[FIX] Hide TTS and more actions on chat reset message (#1850)
hide TTS and more actions on chat reset message
2024-07-11 11:05:25 -07:00
timothycarambat
e6ee872136 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into render 2024-07-10 15:51:27 -07:00
Sean Hatfield
85e5866be6
[STYLE] Fix styles of general settings page (#1847)
fix styles of limit messages per day
2024-07-10 15:42:32 -07:00
Sean Hatfield
554f414cb8
[FIX] Embed chat widget message color bug fix (#1843)
* fix assistant bg color data prop

* publish modified embed changes
2024-07-10 14:02:43 -07:00
Sean Hatfield
69d67401ff
[STYLE] Implement new settings sidebar UI (#1829)
* 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>
2024-07-10 12:20:06 -07:00
Sean Hatfield
e7fe35bda9
[STYLE] Implement new chat tools UI (#1835)
* 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>
2024-07-10 12:16:58 -07:00
bchoor
baa5f35264
Fixed typo "AAnything" (#1822) 2024-07-07 15:55:33 -07:00
timothycarambat
ddf268771d Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-07-03 18:29:29 -07:00
timothycarambat
d94720f31a remove mark as bad feedback 2024-07-03 18:29:20 -07:00
Sean Hatfield
ab56bae1bb
[FEAT] Ability to delete messages from conversation history (#1812)
* 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>
2024-07-03 18:28:08 -07:00
Timothy Carambat
06fb9bdd99
1738 generic open ai agent (#1809)
* enable support for generic openAI as Agent provider
2024-07-03 15:17:53 -07:00
Sean Hatfield
8b5d9ccdb3
[FEAT] Fork chat to new thread (#1788)
* 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>
2024-07-03 14:44:35 -07:00