Commit graph

610 commits

Author SHA1 Message Date
Timothy Carambat
2f5ed6c705
fix: bug where in single user mode deletion of an api key deletes all ()
* fix: bug where in single user mode deletion of an api key deletes all
resolves 

* linting
2025-02-26 12:17:00 -08:00
Said Ouhdach
7c787f8959
Arabic Translation ()
* Arabic translation

* Arabic Translation correction
2025-02-26 11:54:34 -08:00
高先生
2ea94b5064
feature: support configurable left and right message layout ()
* feat: support user select message  direction

* feat: optimizing the code

* feat: lint code

* fix: prevent localstorage read on every message component render
ui: refactor alignment UI selector for dark and light mode with simple styling

* docs: update jsdoc comment for hook
fix: apply chat alignment to homepage chat

* fix mobile styles of message chat alignment preference

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-02-25 12:54:16 -08:00
Skanda Kaashyap
d1354caccb
[FEAT] Add claude-3-7 ()
* add claude 3-7 sonnet

* made all the changes everywhere

* add 3-7-sonnet-latest model

* lint

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-02-25 12:52:17 -08:00
Sean Hatfield
43e29d6f9b
Markdown support in custom messages ()
* add md support to appearance custom messages

* break out dompurify to util

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-02-18 20:55:56 -08:00
Sushanth Srivatsa
3fd0fe8fc5
2749 ollama client auth token ()
* ollama auth token provision

* auth token provision

* ollama auth provision

* ollama auth token

* ollama auth provision

* token input field css fix

* Fix provider handler not using key
sensible fallback to not break existing installs
re-order of input fields
null-check for API key and header optional insert on request
linting

* apply header and auth to agent invocations

* upgrading to ollama 5.10 for passing headers to constructor

* rename Auth systemSetting key to be more descriptive
linting and copy

* remove untracked files + update gitignore

* remove debug

* patch lockfile

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-02-18 16:00:17 -08:00
Sean Hatfield
3390ccf4b1
Improve PromptInput component ()
* allow typing while streaming + refactor props

* remove duplicate function
2025-02-18 15:18:55 -08:00
Sean Hatfield
aba910de70
fix agent builder move block bug ()
patch bug allowing user to move block above vars in agent builder
2025-02-14 17:37:42 -08:00
mr-chenguang
6ffdbf074d
feat(dataconnectors): support confluence personal access token ()
* feat(dataconnectors): support confluence personal access token

* fix: change select option

* linting
change name on accesstype field

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-02-14 12:12:01 -08:00
Timothy Carambat
b6d3a411b1
Add querySelectorAll capability to web-scraping block ()
* Add `querySelectorAll` capability to web-scraping block

* patches and fallbacks

* fix styles of text in web scraping block

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-02-13 16:11:15 -08:00
Adam Setch
ea8454ea79
chore: rename Gitlab to GitLab ()
* chore: rename `Gitlab` to `GitLab`

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* undo code changes - breaks refs

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-02-13 12:13:37 -08:00
Adam Setch
d63438fa61
chore: rename Github to GitHub ()
* chore: rename Github to GitHub

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* chore: rename Github to GitHub

Signed-off-by: Adam Setch <adam.setch@outlook.com>

* Undo some code changes for references

---------

Signed-off-by: Adam Setch <adam.setch@outlook.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-02-13 10:45:43 -08:00
timothycarambat
0e7fee41ca patch flow link 2025-02-12 23:25:37 -08:00
Sean Hatfield
e5f3fb0892
Agent flow builder ()
* wip agent builder

* refactor structure for agent builder

* improve ui for add block menu and sidebar

* lint

* node ui improvement

* handle deleting variable in all nodes

* add headers and body to apiCall node

* lint

* Agent flow builder backend ()

* wip agent builder backend

* save/load agent tasks

* lint

* refactor agent task to use uuids instead of names

* placeholder for run task

* update frontend sidebar + seperate backend to agent-tasks utils

* lint

* add deleting of agent tasks

* create AgentTasks class + wip load agent tasks into aibitat

* lint

* inject + call agent tasks

* wip call agent tasks

* add llm instruction + fix api calling blocks

* add ui + backend for editing/toggling agent tasks

* lint

* add back middlewares

* disable run task + add navigate to home on logo click

* implement normalizePath to prevent path traversal

* wip make api calling more consistent

* lint

* rename all references from task to flow

* patch load flow bug when on editing page

* remove unneeded files/comments

* lint

* fix delete endpoint + rename load flows

* add move block to ui + fix api-call backend + add telemetry

* lint

* add web scraping block

* only allow admin for agent builder

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>

* Move AgentFlowManager flows to static
simplify UI states
Handle LLM prompt flow when provided non-string

* delete/edit menu for agent flow panel + update flow icon

* lint

* fix open builder button hidden bug

* add tooltips to move up/down block buttons

* add tooltip to delete block

* truncate block description to fit on blocklist component

* light mode agent builder sidebar

* light mode api call block

* fix light mode styles for agent builder blocks

* agent flow fetch in UI

* sync delete flow

* agent flow ui/ux improvements

* remove unused AgentSidebar component

* comment out /run

* UI changes and updates for flow builder

* format flow panel info

* update link handling

* ui tweaks to header menu

* remove unused import

* update doc links
update block icons

* bump readme

* Patch code block header oddity
resolves 

* bump dev image

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-02-12 16:50:43 -08:00
timothycarambat
e2148d4803 Patch code block header oddity
resolves 
2025-02-12 16:30:38 -08:00
Sander de Leeuw
4028b5a652
fix UserMenu rendered twice on Main page ()
fix: fix UserMenu rendered twice on Main page
2025-02-11 15:49:01 -08:00
Timothy Carambat
2e0e17ee8a
[CHORE] Onboarding language translations ()
* wip onboarding translations

* add normalized EN reference for languages

* add zh/zh-tw translations

* Fix translations
2025-02-11 15:46:08 -08:00
timothycarambat
bffdfffe81 linting 2025-02-10 12:08:21 -08:00
timothycarambat
03227c19ba Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-02-10 09:21:51 -08:00
timothycarambat
875a582cc9 Patch light mode remove on SQL Connection
resolves 
2025-02-10 09:21:44 -08:00
TunahanDilercan
4b71dd1005
[FEAT] Add Turkish Language Support (tr.js) () 2025-02-06 15:26:06 -08:00
Timothy Carambat
e76baacec4
Add reasoning flag for azure models with "default" fallback () 2025-02-05 15:22:45 -08:00
Timothy Carambat
805b4f79d8
Enable consistent styling on chart items () 2025-02-05 11:51:38 -08:00
Timothy Carambat
cded1404cc
inherit font size from UI for thoughts () 2025-02-03 14:39:39 -08:00
timothycarambat
a4d5b2588f o3 model patch 2025-02-03 14:19:21 -08:00
timothycarambat
4b953492a5 Fix inifite loading when bad file is uploaded alone in uploader 2025-01-31 13:49:32 -08:00
timothycarambat
e86ad82496 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-01-29 12:03:20 -08:00
timothycarambat
81939fe26d Patch gear showing on llms with no settings 2025-01-29 12:03:12 -08:00
Timothy Carambat
741ba8f2d0
Agent UI animations ()
* wip agent ui animation

* WIP agent ui revision

* linting

* simplify css

* memoize agent responses

* patch hook memo issue

* dev build

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-01-28 13:46:59 -08:00
timothycarambat
6192080635 Update NVIDIA branding 2025-01-28 10:27:31 -08:00
Timothy Carambat
6aa1854155
Add ability to disable default agent skills ()
* Add ability to disable default agent skills

* debug build
2025-01-27 16:52:43 -08:00
Sean Hatfield
75790e7e90
Remove native LLM option ()
* remove native llm

* remove node-llama-cpp from dockerfile

* remove unneeded items from dockerfile

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-01-27 13:42:52 -08:00
Timothy Carambat
c56d3b1558
breakout latex plugin for delims ()
* Breakout LaTeX plugin for modification

* backport regular markdown link
2025-01-27 13:35:58 -08:00
Timothy Carambat
55ffc08867
[Chore] Add better data-handling for unknown providers ()
Add better data-handling for unknown providers
2025-01-27 10:50:20 -08:00
Jason
c757c3fb5f
feat: update novita AI logo and default model () 2025-01-27 08:41:12 -08:00
Sean Hatfield
22d5891ccc
Allow editing of LLM settings from workspace settings ()
* wip change workspace llm settings

* allow editing of workspace llm and agent config inside workspace settings

* lint + put back deleted comment

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-01-24 14:17:52 -08:00
Sean Hatfield
48dcb22b25
Dynamic fetching of TogetherAI models ()
* implement dynamic fetching of togetherai models

* implement caching for togetherai models

* update gitignore for togetherai model caching

* Remove models.json from git tracking

* Remove .cached_at from git tracking

* lint

* revert unneeded change

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-01-24 11:06:59 -08:00
timothycarambat
9584a7e140 Revert StatusResponse Changes due to crashing frontend 2025-01-23 12:36:35 -08:00
Sean Hatfield
19d942a070
Fix stop generation button UI ()
* fix stop generation button ui

* keep action color theme and match rest of the UI
rescale button to be consistent with UI

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-01-23 12:14:31 -08:00
Timothy Carambat
604e7c9218
Display thinking in the prompt response - model agnostic ()
* CoT Display

* forgot file

* preformance optimizations

* match agent ui on thinking model ui when collapsed

* style cleanup

* spacing fixes

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-01-22 13:12:10 -08:00
Timothy Carambat
d35b37b6ec
wip agent ui animation ()
* wip agent ui animation

* WIP agent ui revision

* linting

* simplify css

* memoize agent responses

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-01-22 11:10:02 -08:00
timothycarambat
d1b1a98a60 linting 2025-01-21 16:28:00 -08:00
okaeiz
b92d63e776
Farsi (Persian) translations ()
* Initial commit | Farsi (Persian) translations

* Farsi (Persian) translations - Pt. 2

* Farsi (Persian) translations - Pt. 3

* Farsi (Persian) translations - `README.fa-IR.md` file
2025-01-20 09:12:02 -08:00
timothycarambat
865f7eea29 patch scrollbars - with regress 2025-01-09 13:32:54 -08:00
ReindeerFlotilla
be886f7d61
feat: add support for voyage-3-large and voyage-code-3 embedding models ()
* feat: add support for voyage-3-large and voyage-code-3 embedding models

- Add voyage-3-large and voyage-code-3 to VoyageAiOptions dropdown
- Update getMaxEmbeddingLength to support 32k context for new models
- Update .env.example with new model options

* unset env example

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-01-08 17:21:30 -08:00
timothycarambat
487db896c1 patch unnessecary scrollbars
resolves 
2025-01-07 15:53:34 -08:00
timothycarambat
55e0949e1f patch logo var typo 2025-01-07 14:43:02 -08:00
Timothy Carambat
ad01df8790
Reranker option for RAG ()
* Reranker WIP

* add cacheing and singleton loading

* Add field to workspaces for vectorSearchMode
Add UI for lancedb to change mode
update all search endpoints to pass in reranker prop if provider can use it

* update hint text

* When reranking, swap score to rerank score

* update optchain
2025-01-02 14:27:52 -08:00
Chaiwat Saithongcum
fa3079bbbf
Add support for Google Generative AI (Gemini) embedder ()
* Add support for Google Generative AI (Gemini) embedder

* Add missing example in docker
Fix UI key elements in options
Add Gemini to data handling section
Patch issues with chunk handling during embedding

* remove dupe in env

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-12-31 09:29:38 -08:00
Sean Hatfield
99b6dedc8b
Fix typo in frontend for SearXNG agent setup ()
fix typo in frontend for SearXNG agent setup
2024-12-30 14:11:20 -08:00