Commit graph

1222 commits

Author SHA1 Message Date
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
Shanmukeshwar
eeaa6b0151
feat: Add endpoint to retrieve documents by folder name ()
* feat: Add endpoint to retrieve documents by folder name

* isWithin Check on path to prevent path traversal

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-02-18 14:01:19 -08:00
Sean Hatfield
354b66e09e
Add additional embed API endpoints ()
* wip embed dev api endpoints

* fix /v1/embed/new endpoint

* add delete endpoint to embeds

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-02-18 13:56:56 -08:00
Timothy Carambat
c6ff3a7765
fix: Patch agent flow to honor agent handler established provider ()
resolves 
2025-02-17 14:44:23 -08:00
Hakeem Abbas
ca60ba827b
fix: sanitizeNamespace ()
bug fixes for sanitizing Namespaces and handling chunk size limit of astradb collections in each doc

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-02-17 13:54:32 -08:00
alongLFB
e49ec05a98
Fix: fix text and format issues in Chinese documentation. ()
fix:
docs(zh-CN): fix text and format issues in Chinese documentation

- Remove redundant punctuation and repeated words
- Standardize quotation marks format and remove unnecessary quotes
- Add and complete TTS and STT related translations
2025-02-17 13:53:28 -08:00
t2
0eb86e2c12
for projects in gitlab subgroup () ()
* for projects in gitlab subgroup ()

* fix: false condition

* refactor pattern matching logic

---------

Co-authored-by: t2 <>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-02-17 12:25:11 -08:00
timothycarambat
e978c90ea0 Revert "disable PH people props"
This reverts commit 6fd34e5476.
2025-02-17 09:56:14 -08:00
timothycarambat
6fd34e5476 disable PH people props 2025-02-17 09:43:18 -08:00
Timothy Carambat
4545ce24cd
Drop Node canvas for manual sharp conversion ()
* Drop Node `canvas` for manual `sharp` conversion

* bump dev
2025-02-14 17:38:13 -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
89bba68219
Add OCR of image support ()
* OCR PDFs as fallback in spawn thread

* wip

* build our own worker fanout and wrapper

* norm pkgs

* Add image OCR support
2025-02-14 12:07:33 -08:00
Timothy Carambat
2a9066e83a
OCR PDFs as fallback during upload ()
* OCR PDFs as fallback in spawn thread

* wip

* build our own worker fanout and wrapper

* norm pkgs

* bump dev
2025-02-14 11:57:31 -08:00
Mert Cobanov
cf8c7c28a1
Turkish translations () 2025-02-14 11:10:50 -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
timothycarambat
5d916eb6e4 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-02-13 12:06:41 -08:00
timothycarambat
72e429627d update dead link
resolves 
2025-02-13 12:06:35 -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
Timothy Carambat
cc3d619061
Add handling to reasoning models for Generic OpenAI connector ()
* Add handling to resoning models for Generic OpenAI connector
resolves 

* linting
2025-02-12 10:28:44 -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
d90571fa33
Add improved logging and introspection to web-browsing () 2025-02-06 09:23:05 -08:00
Timothy Carambat
1bfd461719
Patch PPLX streaming for timeouts ()
Add in-text citations as well for PPLX token streaming
handle timeouts for stream/buffer hanging
2025-02-05 16:35:22 -08:00
Timothy Carambat
df8d34d31e
Enable num_ctx to match defined chunk length in ollama embedder ()
* Enable `num_ctx` to match defined chunk length in ollama embedder

* remove console
2025-02-05 15:46:39 -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
timothycarambat
a5ee6121e2 Add patch for o# models on Azure
connect 
Note: depends on user naming the deployment correctly.
2025-02-05 11:34:03 -08:00
timothycarambat
694aa85e43 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-02-05 10:30:51 -08:00
timothycarambat
c2c4f63643 bump cdn 2025-02-05 10:30:43 -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
121fbea284 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-01-31 13:49:50 -08:00
timothycarambat
4b953492a5 Fix inifite loading when bad file is uploaded alone in uploader 2025-01-31 13:49:32 -08:00
Timothy Carambat
9a4df22c70
autodetect parseable text file contents () 2025-01-31 13:31:26 -08:00
Timothy Carambat
d1ca16f7f8
Add tokenizer improvments via Singleton class and estimation ()
* Add tokenizer improvments via Singleton class
linting

* dev build

* Estimation fallback when string exceeds a fixed byte size

* Add notice to tiktoken on backend
2025-01-30 17:55:03 -08:00
Timothy Carambat
e1af72daa7
parse streams from reasoning_content from DeepSeek API () 2025-01-30 14:55:20 -08:00
Timothy Carambat
8eac83bb82
Enable include_reasoning in request () 2025-01-30 14:32:38 -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