Commit Graph

1324 Commits

Author SHA1 Message Date
Shixian Sheng
dd701f9aa4
Update QDRANT_SETUP.md (#3530) 2025-03-25 12:45:18 -07:00
Sean Hatfield
f3ea21bcd1
Prompt variables (#3359)
* wip prompt variables

* refactor backend + add popup suggestions menu to frontend

* use processString to replace all variables in system prompts

* update translations

* fix translations

* wip highlight variables

* revert accidental name change

* rename everything, remove translations

* Update prompt var UI and backend logic

* Update form handler
linting

* linting

* normalize all translation files for prompt variables

* prompt vars dev image

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-03-25 12:44:19 -07:00
Shixian Sheng
9cc1b26af2
Update README.zh-CN.md (#3527)
* Update README.zh-CN.md

* Update README.ja-JP.md

* Update README.zh-CN.md

* Update README.zh-CN.md

* Update README.ja-JP.md
2025-03-24 22:32:41 -07:00
Sean Hatfield
f0b7919a8f
Protected slash command check (#3524)
* protected slash command check

* fix error handling on frontend

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-03-24 17:09:36 -07:00
Sean Hatfield
5785a705cf
Enable use of @agent in slash commands (#3508)
* allow @agent in slash commands

* make prompt input focused on slash command click

* lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-03-24 11:35:48 -07:00
Sean Hatfield
19ba6bcc15
Enable slash commands in dev API chat/stream-chat (#3514)
* enable slash commands in dev api

* lint

* Remove ability to use default slash commands in API request
Add `reset` param to body that can reset chats according to the api chat execution parameters
Allow null `message` if `reset` is set in request.
Added early return for if message is null and reset is true
Enable chat to reset chat history and continue `message` execution
Added generic WorkspaceChat history reset function. Deprecated others

* update grep function comment
remove debug

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-03-24 11:29:36 -07:00
timothycarambat
fa1f24f6bf change submodules to https for non-ssh pulls 2025-03-24 09:23:39 -07:00
timothycarambat
0d1a2f06aa remove dupe key 2025-03-20 11:16:40 -07:00
Sean Hatfield
688ade6d96
Bump LanceDB (#3015)
* bump lancedb

* dev build

* normalize build

* wtf is going on with build now

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-03-20 10:00:38 -07:00
Timothy Carambat
b54ab7be05
CHORE: debounce telems to prevent spamming (#3505)
debounce telems to prevent spamming
2025-03-20 08:40:28 -07:00
timothycarambat
039a6c73e4 remove unused import 2025-03-19 11:41:07 -07:00
Weijing Jay Lin
c8d736555f
Use concurrently to run all dev service at once (#3424)
* Update package.json

* patch run command to use local node_module concurrently

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-03-18 08:10:29 -07:00
MrMarans
5264baeac8
Add ability to reordering workspaces (#3446)
* added reordering of workspaces

* smooth ui updates on dnd + ui bug fixes

* pin react-beautiful-dnd version

* Move to localstorage solution to support single and multi-user

---------

Co-authored-by: Ron Metzger <ron.metzger@korn-recycling.de>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-03-18 08:00:51 -07:00
Sean Hatfield
e01c0dff04
Fix embedding endpoint for OpenAI compatible API (#3467)
* fix embedding endpoint for openai compatible api

* remove unused imports

* add backwards compat for embedding

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-03-17 18:10:24 -07:00
Sean Hatfield
f6239a39f8
fix chroma db + add similarity offset (#3458)
* fix chroma db + add similarity offset

* patch chroma scoring

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-03-17 17:48:23 -07:00
timothycarambat
0d5e869f5c Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-03-17 17:47:55 -07:00
timothycarambat
0c34d62342 fix pkg order 2025-03-17 17:47:48 -07:00
Sean Hatfield
5658aac25c
Add remove folder developer API endpoint (#3489)
* add remove folder api endpoint

* update purgeFolder function comment

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-03-17 17:05:21 -07:00
Sean Hatfield
99ec269623
Pinning UI improvements (#3490)
* improve pinning ui + sort pinned docs to top

* lint
2025-03-17 17:01:21 -07:00
Morten Aagaard Eistrøm
39cd4602fe
Added danish translation (#3461)
### Pull Request Type

<!-- For change type, change [ ] to [x]. -->

- [ ]  feat
- [ ] 🐛 fix
- [ ] ♻️ refactor
- [ ] 💄 style
- [x] 🔨 chore
- [ ] 📝 docs

Adds danish translation

- [x] I ran `yarn lint` from the root of the repo & committed changes
- [x] Relevant documentation has been updated
- [x] I have tested my code functionality
- [x] Docker build succeeds locally
2025-03-17 08:08:20 -07:00
Sean Hatfield
9d13c9a0fb
Fix agent calling UI max height (#3457)
fix agent calling ui max height
2025-03-17 07:35:04 -07:00
Sean Hatfield
68a80d7349
fix thought container from getting cut off at max height (#3449) 2025-03-13 10:01:44 +09:00
timothycarambat
0b1a0e0a1f Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-03-04 09:08:21 -08:00
timothycarambat
b4afb995d4 Show default deepseek models on wrong API key
connect #3390
2025-03-04 09:07:49 -08:00
Timothy Carambat
66b4bf2679
Add support for Anthropics /model endpoint (finally) (#3376)
* Add support for Anthropics /model endpoint (finally)

* dev
2025-02-28 13:29:43 -08:00
Timothy Carambat
fab74037fa
Prevent collector crash when blocked by CDN (#3373)
resolves #3365
2025-02-28 10:27:05 -08:00
AbelDuan
df166eb64e
feat: Add multilingual support for ocr module (#3325)
* Add multilingual support for ocr mudule

* Add OCR langauge as server var that is passed into Collector
Support all valid tesseract language codes
Filter and parse only valid codes with fallbacks'

* persist TARGET_OCR_LANG

* update docker example env

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-02-27 12:31:17 -08:00
MrMarans
c928d3d0c5
changed language support for following windows: chat, data-upload and… (#3010)
* changed language support for following windows: chat, data-upload and account settings

* normalize translations

* linting, normalization with DE

---------

Co-authored-by: Ron Metzger <ron.metzger@korn-recycling.de>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-02-27 11:34:02 -08:00
cnJasonZ
2aeb4c2961
Add new model provider PPIO (#3211)
* feat: add new model provider PPIO

* fix: fix ppio model fetching

* fix: code lint

* reorder LLM
update interface for streaming and chats to use valid keys
linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-02-27 10:53:00 -08:00
Kristofer Bourro
b07240deee
Windows development environment variables support (#3354)
* Windows development environment variables support

* moved cross-env to dev dependencies

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-02-27 10:43:31 -08:00
Sean Hatfield
6f1938c598
New thinking/agent animation + UI (#3302)
* implement new thinking animation ui

* implement agent thinking animation
2025-02-26 15:36:28 -08:00
Yash Suresh Chandra
23d5f368d9
speech to text typo correction (#3330)
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-02-26 15:26:08 -08:00
Sean Hatfield
6dd1fdc546
Add bio field to user (#3346)
* add bio to users table

* lint

* add bio field to edit user admin page

* fix bio saving on new user

* simplify updating localstorage user

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-02-26 15:23:24 -08:00
timothycarambat
1aa2eed6c7 Patch multi-arch builds
ref: https://github.com/NVIDIA/cuda-quantum/pull/2651#issue-2870353124
2025-02-26 14:59:57 -08:00
timothycarambat
e6aeeba994 chore: attempt to unblock CI 2025-02-26 14:49:52 -08:00
timothycarambat
a834fe2946 chore: attempt to unblock CI 2025-02-26 14:49:32 -08:00
timothycarambat
c2722e6512 chore: attempt to unblock CI 2025-02-26 14:47:57 -08:00
timothycarambat
0e09e9393d chore: patch again for buildx segfault 2025-02-26 14:38:46 -08:00
timothycarambat
173a2be75c chore: patch QUMU CI segfault due to recent QEMU issue on image 2025-02-26 14:22:33 -08:00
timothycarambat
ad73fbafeb chore: patch QUMU CI segfault due to recent QEMU issue on image 2025-02-26 14:15:15 -08:00
timothycarambat
fa454aa6ca patch openapi swagger docs 2025-02-26 12:30:26 -08:00
Shanmukeshwar
d005107e24
feat: Add endpoint to upload documents to a specified folder (#3276)
* feat: Add endpoint to retrieve documents by folder name

* isWithin Check on path to prevent path traversal

* feat: Add endpoint to upload documents to a specified folder

* refactor upload to folder endpoint + update jsdoc for swagger

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-02-26 12:26:24 -08:00
Timothy Carambat
2f5ed6c705
fix: bug where in single user mode deletion of an api key deletes all (#3358)
* fix: bug where in single user mode deletion of an api key deletes all
resolves #3352

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

* Arabic Translation correction
2025-02-26 11:54:34 -08:00
高先生
2ea94b5064
feature: support configurable left and right message layout (#3244)
* 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 (#3337)
* 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
c36df2c364
Fix garbled non English chars on document upload (#3301)
update handleAPIFileUpload middleware to handle non english chars + update jsdoc
2025-02-20 23:09:34 -08:00
Timothy Carambat
dec13beb6e
Update null-check function for aibitat runners (#3283)
* Update nullcheck function for aibitat runners

resolves #3273
closes #3277

* lint
2025-02-19 10:21:31 -08:00
Sean Hatfield
43e29d6f9b
Markdown support in custom messages (#3267)
* 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
Sean Hatfield
e53ec1474e
Normalize chat sorting defaults in developer API (#3270)
* normalize sorting for workspace and workspace thread chats in dev api

* lint

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-02-18 20:50:22 -08:00