Commit Graph

1201 Commits

Author SHA1 Message Date
timothycarambat
0e7fee41ca patch flow link 2025-02-12 23:25:37 -08:00
Sean Hatfield
e5f3fb0892
Agent flow builder (#3077)
* 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 (#3078)

* 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 #3117

* 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 #3117
2025-02-12 16:30:38 -08:00
Timothy Carambat
cc3d619061
Add handling to reasoning models for Generic OpenAI connector (#3183)
* Add handling to resoning models for Generic OpenAI connector
resolves #3177

* linting
2025-02-12 10:28:44 -08:00
Sander de Leeuw
4028b5a652
fix UserMenu rendered twice on Main page (#3110)
fix: fix UserMenu rendered twice on Main page
2025-02-11 15:49:01 -08:00
Timothy Carambat
2e0e17ee8a
[CHORE] Onboarding language translations (#3176)
* 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 #3160
2025-02-10 09:21:44 -08:00
TunahanDilercan
4b71dd1005
[FEAT] Add Turkish Language Support (tr.js) #3108 (#3141) 2025-02-06 15:26:06 -08:00
Timothy Carambat
d90571fa33
Add improved logging and introspection to web-browsing (#3140) 2025-02-06 09:23:05 -08:00
Timothy Carambat
1bfd461719
Patch PPLX streaming for timeouts (#3130)
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 (#3129)
* 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 (#3128) 2025-02-05 15:22:45 -08:00
Timothy Carambat
805b4f79d8
Enable consistent styling on chart items (#3126) 2025-02-05 11:51:38 -08:00
timothycarambat
a5ee6121e2 Add patch for o# models on Azure
connect #3023
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 (#3099) 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 (#3079) 2025-01-31 13:31:26 -08:00
Timothy Carambat
d1ca16f7f8
Add tokenizer improvments via Singleton class and estimation (#3072)
* 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 (#3068) 2025-01-30 14:55:20 -08:00
Timothy Carambat
8eac83bb82
Enable include_reasoning in request (#3067) 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 (#3025)
* 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
timothycarambat
4bdd921c75 rever ubuntu arm runner - fickle and fails often 2025-01-27 17:35:30 -08:00
Timothy Carambat
6aa1854155
Add ability to disable default agent skills (#3041)
* Add ability to disable default agent skills

* debug build
2025-01-27 16:52:43 -08:00
Sean Hatfield
75790e7e90
Remove native LLM option (#3024)
* 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 (#3040)
* 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 (#3026)
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 (#3037) 2025-01-27 08:41:12 -08:00
Sean Hatfield
22d5891ccc
Allow editing of LLM settings from workspace settings (#2865)
* 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
Timothy Carambat
2ca22abc9c
Add Version to AzureOpenAI (#3023) 2025-01-24 13:41:37 -08:00
Sean Hatfield
48dcb22b25
Dynamic fetching of TogetherAI models (#3017)
* 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
273d116586 linting 2025-01-23 16:43:18 -08:00
Sean Hatfield
57f4f46a39
Bump perplexity models (#3014)
* bump perplexity models

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-01-23 16:35:38 -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 (#3011)
* 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 (#3001)
* 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 (#2999)
* 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
timothycarambat
7e10205df6 remove greptile link 2025-01-20 15:18:26 -08:00
okaeiz
b92d63e776
Farsi (Persian) translations (#2989)
* 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
Sean Hatfield
f8c72786df
Fix similarity score bug in lance/chroma dbs (#2986)
* fix similarity score bug in lance/chroma dbs

* batch lower bound case

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-01-17 18:27:54 -08:00
timothycarambat
3d872bc639 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-01-16 15:09:45 -08:00