Commit Graph

889 Commits

Author SHA1 Message Date
Sean Hatfield
2b274c62b7
Obsidian data connector (#3798)
* add obsidian vault data connector

* lint

* add english translations

* normalize translations

* improve file parser and reader

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-12 13:45:27 -07:00
Shixian Sheng
aef455d977
Fixed grammar and typos (#3802)
* Update common.js

* Update README.md

* Update common.js

* Update README.md

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-12 09:42:50 -07:00
Colin Perry
8a38231ff3
Fix MCP Start/Stop Toast Text (#3803)
* corrected toggle server toast text

* reordered code for readability

* reordered code for readability

* ran yarn lint

* reordered code for readability

* ran yarn lint
2025-05-12 09:40:17 -07:00
Timothy Carambat
e1b7f5820c
PGvector vector database support (#3788)
* PGVector support for vector db storage

* forgot files

* comments

* dev build

* Add ENV connection and table schema validations for vector table
add .reset call to drop embedding table when changing the AnythingLLM embedder
update instrutions
Add preCheck error reporting in UpdateENV
add timeout to pg connection

* update setup

* update README

* update doc
2025-05-09 12:27:11 -07:00
Shixian Sheng
2812fef01e
updated locale (#3796)
* Update README.zh-CN.md

* Update common.js
2025-05-09 12:06:49 -07:00
Lao
766d15eeed
Update:WorkspaceChat-ChatContainer-PromptInput (#3792)
update:WorkspaceChat ChatContainer PromptInput

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-09 09:54:40 -07:00
Colin Perry
e2eca2ccb3
Add Disable Spellcheck Option (#3795)
* Implemented spellcheck toggle in Settings

* ran yarn lint

* reduce read complexity for appearance spellcheck
lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-09 09:51:06 -07:00
Shixian Sheng
cfb47a12c2
locale change (#3787)
* Update common.js

* Update common.js

* lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-09 09:32:26 -07:00
Shixian Sheng
2eb415742c
Updated zh locale (#3786)
* Update common.js

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-08 12:01:32 -07:00
Timothy Carambat
881eadfa70
minor UI patches (#3784) 2025-05-08 09:30:54 -07:00
timothycarambat
f40559b180 fix null entry on new workspace 2025-05-08 08:34:37 -07:00
Sean Hatfield
10e65fc021
Chat prompt history menu (#3770)
* wip system prompt history sidebar ui

* lint

* backend/frontend implementation for prompt history wip

* lint

* rework ui

* add delete menu and delete chat history by id

* lint

* ref for menu button

* reorganize components + light mode styles

* lint

* UI refactor

* backend refactor

* remove unused import

* add border-none to all buttons

* fix spacing on dots 3 icon button

* add window to confirm

* add english translations

* normalize translations

* lin

* patch store logic

* sticky header

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-08 08:29:46 -07:00
timothycarambat
9d661bb96e linting 2025-05-07 09:40:31 -07:00
Timothy Carambat
f0104fe1a9
Merge commit from fork 2025-05-07 09:37:31 -07:00
mr-chenguang
eff9d24cb9
feat: support fetch wikis for gitlab data connectors (#3271)
* feat: support fetch wikis for gitlab data connectors

* gitlab connector button spacing

* add docAuthor and description metadata for GitLab wiki pages

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-06 14:09:53 -07:00
Danny Steenman
5500fa2bc5
feat: support for iam roles for bedrock client (#2632)
* feat: implement iam role auth for bedrock

* fix: make client refreshes properly when switching between iam_user and iam_role

* checkout agent flow

* fix aiprovider for bedrock in agent use

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-06 13:48:15 -07:00
Tristan Stahnke
b64a77f29f
Refactor AWS Bedrock Provider for Multi-modal Support & Correct Token Limits (#3714)
* Fixed two primary issues discovered while using AWS Bedrock with Anthropic Claude Sonnet models:
- Context Window defaults to 8192 maximum, which isn't correct
- Multimodal stopped working when removing langchain, which was transparently handling image_url to a format sonnet expects.

* Ran `yarn lint`

* Updated .env.example to have aws bedrock examples too

* Refactor for readability
move utils for AWS specific functionality to subfile
add token output max to ENV so setting persits

---------

Co-authored-by: Tristan Stahnke <tristan.stahnke+gpsec@guidepointsecurity.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-06 12:55:24 -07:00
Colin Perry
a1090ecd73
Fix/dom nesting warnings (#3773)
* fixed DOM nesting warnings

* ran yarn lint

* linting
fix more HTML nesting errors

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-06 11:36:02 -07:00
Timothy Carambat
051ed15f1f
more zh translations (#3769) 2025-05-05 15:03:31 -07:00
timothycarambat
421d7980ac formatting 2025-05-05 11:41:27 -07:00
Sebastián Darío Ramírez
4f23e44756
Add gemini-embedding-exp-03-07 model support (#3767)
* adds gemini-embedding-exp-03-07 support

* unset random changes, make model map

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-05 09:37:01 -07:00
Sean Hatfield
c402e5cea1
Data connector CTA button styles (#3759)
update data connector cta button styles

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-05 09:13:12 -07:00
Sean Hatfield
aa41454589
Fix chat alignment borders (#3760)
fix chat alignment borders

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-05 09:12:02 -07:00
Sean Hatfield
d7b7d29773
Remove drop shadow from CTAButton component (#3756)
remove drop shadow from cta button

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-02 16:10:18 -07:00
Timothy Carambat
84cf6e0c99
handle no thoughts in container (#3758)
* handle no thoughts in container
use imperative handler to handle thoughtless streaming and complete responses

* option chain
2025-05-02 16:08:21 -07:00
Sean Hatfield
8912d0f0fc
Add option to control KoboldCPP max response tokens (#3746)
add option to control koboldcpp max response tokens
2025-05-02 14:12:06 -07:00
Sean Hatfield
b4511ac222
App wide antialiasing (#3752)
enable app wide antialiasing

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-02 14:11:17 -07:00
Leo Carvalho
480be2a6f0
pt-BR translation (#3755)
* Translate new strings

* lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-02 12:55:29 -07:00
Shinya Suzuki
cd900f9e4c
Replace @azure/openai with openai, and update openai to version 4.95.1 (#3691)
* Replace @azure/openai to OpenAI lib

* Remove @azure/openai dependency and update openai to version 4.95.1

* linting

* update logging
fix translation dictionary error

* remove bad ENV key that DNE
linting
Patch Azure OpenAI
Migrate Azure Agent provider to use OpenAI Schema for tool calling performance

* unset

* migrate azure to use default OAI stream handler

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-04-29 11:21:39 -07:00
Sean Hatfield
edaddd41ff
Update light mode input color (#3734)
update lightmode input color
2025-04-29 09:56:51 -07:00
thejjw
0e71a5d36c
Patch 1 (#3729)
* Update index.jsx

"Any existing instances of Bing Search APIs, with your LLM will be decommissioned completely, and the product will no longer be available for usage or new customer signups."
https://azure.microsoft.com/en-us/updates?id=483570

I checked by creating azure account myself to see it is not available. The alternative "Grounding with Bing Search" product only has one pricing available--Grounding with Bing Search ($35 per 1K transactions)

* Update index.jsx

"Any existing instances of Bing Search APIs, with your LLM will be decommissioned completely, and the product will no longer be available for usage or new customer signups."
https://azure.microsoft.com/en-us/updates?id=483570

I checked by creating azure account myself to see it is not available. The alternative "Grounding with Bing Search" product only has one pricing available--Grounding with Bing Search ($35 per 1K transactions)

* update copy

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-04-28 15:14:12 -07:00
Timothy Carambat
dd9c2b4af9
TTS auto-speak and STT auto-submit (#3696)
* auto STT submit control

* simplified STT auto and TTS autoplay

* add chatId to piper elements

* change defaults

* add chat customization page for enabling/disabling new features + options on account modal

* add translation placeholders

* show keybind command

* dev build

* Account modal ui prevent page reload + show Tooltip

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-04-28 13:57:03 -07:00
Timothy Carambat
af26412788
Update embed (#3728)
* update embed

* republish
2025-04-27 16:46:57 -07:00
Shinya Suzuki
da3f97f61d
Improve Japanese translation to maintain @agent (#3704) 2025-04-23 08:57:57 -07:00
Timothy Carambat
21ffabfb15
Translate main page landing (#3699)
* Translate main page landing

* normalize all languages

* Add a few translations, zh,tw,ja,es,de

* fix issues where translation lang change would not effect constants until full reload instead of on update

* dev

* fix noWorkspaceError key in translation usage
2025-04-22 12:32:51 -07:00
Timothy Carambat
fd4929b4d2
Feature/drupalwiki collector (#3693)
* Implement DrupalWiki collector

* Add attachment downloading and processing functionality (#3)

* linting

* Linting
Add citation image
small refactors
add URL for citation identifier

---------

Co-authored-by: em <eugen.mayer@kontextwork.de>
Co-authored-by: rexjohannes <53578137+rexjohannes@users.noreply.github.com>
Co-authored-by: Eugen Mayer <136934+EugenMayer@users.noreply.github.com>
2025-04-21 09:17:24 -07:00
timothycarambat
fe59e22397 Patch threadItem width to stop layout shift
resolves #3688
2025-04-21 08:32:34 -07:00
Timothy Carambat
451f4c266e
Breakup Customization super-page into subpages (#3678)
* breakup settings pages

* remove commented translations

* patch welcome message keys to new dict

* update translations files
2025-04-18 14:25:37 -07:00
Sean Hatfield
0cc40a0c45
Migrate hash navigation to use query params (#3670)
* migrate hash navigation to use query params for home page

* move from url param to query param

* uncheck file

* update paths to handle search options
update action name that is used in query param
update action handlers

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-04-17 14:12:37 -07:00
timothycarambat
709d9fa050 fix update articles 2025-04-17 11:44:26 -07:00
timothycarambat
9d89c01b97 fix MCP missing refs on reload 2025-04-17 11:27:21 -07:00
Shinya Suzuki
98c46c04e4
Update Azure AI options and model map with new model configurations (#3660)
* Update Azure AI options and model map with new model configurations

* linting

---------

Co-authored-by: Shinya Suzuki <shinya.s.825@gmail.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-04-16 09:08:40 -07:00
Артём
25b3b04f59
Updated Russian translation (#3658)
* Updated the Russian translation

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-04-16 09:07:42 -07:00
Shinya Suzuki
716f348d6c
Add Japanese translations for AnythingLLM (#3651)
* Add Japanese translations for AnythingLLM

* linting

---------

Co-authored-by: Shinya Suzuki <shinya.s.825@gmail.com>
Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-04-15 09:49:48 -07:00
timothycarambat
0411ca52a8 fix typo 2025-04-14 17:21:23 -07:00
Sean Hatfield
5f376ef42f
Appearance menu styles (#3627)
* fix alignment/fonts/styles for appearance settings page

* lint

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-04-14 11:44:49 -07:00
Sean Hatfield
6c11ed5e26
Main page QA (#3623)
* fix alignment of new home page + update hover states on checklist items

* hover states + font weight changes in light mode
2025-04-14 11:41:31 -07:00
timothycarambat
010eb6b124 update copy for landing feature card 2025-04-09 14:03:30 -07:00
Sean Hatfield
e76dc0f1ca
New chat home page (#3555)
* wip getting started checklist page

* lint

* add new ui skeleton for new home page/checklist

* make legacy home page appearance setting

* dynamic checklist rendering/close checklist

* make home page functional + update cta buttons in ws settings

* lint

* remove unneeded routes

* wip fixing checklist items (create ws and embed doc broken) + news section updates

* lint

* FINALLY fix all functionality & remove hook to simplify logic

* lint

* hide/show options based on user role/mum enabled

* add hover states and redo checklist ui

* remove welcome checklist page

* add validation to task completion

* polish behavior of checklist/fix roles on checklist items

* lint

* light mode/use tailwind color classes

* remove tutorials link

* Modify how legacy page works

* small UI updates

* remove unused paths
cleanup explore features

* revert save button changes

* conditionally render legacy default chat page when in multiuser

* remove role checks in checklist

* remove role checks in quick links

* remove unused hook

* dark mode new home page checklist ui updates

* Add news logging to repo for record keeping
update new module to pull from CDN

* simplify landing markup

* light mode styles

* remove border in light mode from merge conflict

* Update ignores

* slide up dismiss

* prevent checklist popin

* confetti?

* fix url hash on navigate

* watch for event changes for updating checklist

* useMemo and callback memory optimization

* move handlers to constants via params fwd

* dev

* update github text

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-04-09 13:33:25 -07:00
timothycarambat
be7b1255da fix missing i18n string for watching documents 2025-04-08 18:08:39 -07:00
Sean Hatfield
2c69b45cfe
Fix truncation of threads/workspaces (#3610)
* fix truncation of threads/workspaces

* remove unneeded import
2025-04-07 17:42:00 -07:00
Sean Hatfield
e2562133c6
Move CTA save buttons to top of workspace setting screens (#3613)
move cta save buttons to top of workspace setting screens
2025-04-07 17:36:36 -07:00
Sean Hatfield
a53f1dffdb
Fix bottom border on workspace settings tab switcher (#3615)
fix bottom border on workspace settings tab switcher

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-04-07 17:20:10 -07:00
Timothy Carambat
1b59295f89
Refactor Gemini to use OpenAI interface API (#3616)
* Refactor Gemini to use OpenAI interface API

* add TODO

* handle errors better (gemini)

* remove unused code
2025-04-07 17:18:31 -07:00
Sean Hatfield
a5e7d87bed
[CHORE] Consistent table styling across settings pages (#3597)
make all tables styling consistent across settings pages

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-04-07 12:32:32 -07:00
Timothy Carambat
8b6083c804
sync and publish embed changes (#3596) 2025-04-04 16:11:25 -07:00
Sean Hatfield
2e947050df
Allow period in username (#3592)
* allow period in username

* update validation hint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-04-03 16:42:39 -07:00
Sean Hatfield
8af7a08ad3
Fix broken links in MCP UI (#3569)
* fix broken links in agent skills mcp section

* remove link and use a tag
2025-03-31 22:30:14 -05:00
Timothy Carambat
7a01298a8e
ModelContextProtocol (MCP) Full Compatibility (#3547)
* WIP MCP full compatibility layer

* implement MCP agent function wrapping and invocation methods

* Add `uvx` to docker bin for MCP executions

* dev build

* prune removed data

* Wrap MCP servers to lazy load items to not block the UI
Mobile bug fixes

* arm64 test build

* reset dev builder

* remove unused prop
2025-03-31 16:15:19 -05:00
Sean Hatfield
bd9b7e812d
Agent builder UI bug fixes (#3522)
* builder ui bug fixes

* fix save button text color

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-03-28 13:30:17 -07:00
Sean Hatfield
d626fca1ef
Teal color for onboarding buttons (#3533)
add teal color for onboarding

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-03-28 13:10:33 -07:00
Sean Hatfield
090a9e9827
Update styles of experimental modal buttons (#3535)
update styles of experimental modal buttons

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-03-28 13:07:00 -07:00
timothycarambat
c29f7669c4 linting 2025-03-25 15:50:42 -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
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
timothycarambat
039a6c73e4 remove unused import 2025-03-19 11:41:07 -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
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
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
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
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
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
Sushanth Srivatsa
3fd0fe8fc5
2749 ollama client auth token (#3005)
* 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 (#3266)
* 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 (#3220)
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 (#3206)
* 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 (#3186)
* 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 (#3200)
* 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 (#3199)
* 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 (#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
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
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
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
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 (#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
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
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
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
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
timothycarambat
865f7eea29 patch scrollbars - with regress #2943 2025-01-09 13:32:54 -08:00
ReindeerFlotilla
be886f7d61
feat: add support for voyage-3-large and voyage-code-3 embedding models (#2955)
* 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 #2943
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 (#2929)
* 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 (#2895)
* 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 (#2917)
fix typo in frontend for SearXNG agent setup
2024-12-30 14:11:20 -08:00
Sean Hatfield
bbc0bec524
Show scrollbar on rendered tables in chat (#2884)
show scrollbar on rendered tables in chat

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-12-28 17:55:43 -08:00
timothycarambat
2149fb709a Patch gemini dropdown to model id since names are wrong for the different versions
connect #2898
2024-12-28 17:27:32 -08:00
Sean Hatfield
dca27e7235
Fix styles of ChangeWarningModal (#2876)
fix styles of ChangeWarningModal
2024-12-18 16:15:33 -08:00
timothycarambat
eb33e0f775 more table styles for lightmode 2024-12-18 13:00:02 -08:00
Sean Hatfield
f894b60bd8
Fix light mode table colors (#2873)
* fix light mode table colors

* fix table styles from being overwritten in other sections that are not chat messages

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-12-18 11:49:59 -08:00
Timothy Carambat
a51de73aaa
update ollama performance mode (#2874) 2024-12-18 11:21:35 -08:00
Timothy Carambat
d54b5dfc62
Remove fine-tuning flow (#2872)
remove fine-tuning flow
2024-12-18 10:24:02 -08:00
Timothy Carambat
b082c8e441
Add support for gemini authenticated models endpoint (#2868)
* Add support for gemini authenticated models endpoint
add customModels entry
add un-authed fallback to default listing
separate models by expiermental status
resolves #2866

* add back improved logic for apiVersion decision making
2024-12-17 15:20:26 -08:00
Timothy Carambat
71cd5e5b28
Enable default roles to be able to use attachments but not upload documents (#2860)
* Enable default users to be able to add attachments, but not files to chats
2024-12-16 15:28:22 -08:00
Timothy Carambat
dd7c4675d3
LLM performance metric tracking (#2825)
* WIP performance metric tracking

* fix: patch UI trying to .toFixed() null metric
Anthropic tracking migraiton
cleanup logs

* Apipie implmentation, not tested

* Cleanup Anthropic notes, Add support for AzureOpenAI tracking

* bedrock token metric tracking

* Cohere support

* feat: improve default stream handler to track for provider who are actually OpenAI compliant in usage reporting
add deepseek support

* feat: Add FireworksAI tracking reporting
fix: improve handler when usage:null is reported (why?)

* Add token reporting for GenericOpenAI

* token reporting for koboldcpp + lmstudio

* lint

* support Groq token tracking

* HF token tracking

* token tracking for togetherai

* LiteLLM token tracking

* linting + Mitral token tracking support

* XAI token metric reporting

* native provider runner

* LocalAI token tracking

* Novita token tracking

* OpenRouter token tracking

* Apipie stream metrics

* textwebgenui token tracking

* perplexity token reporting

* ollama token reporting

* lint

* put back comment

* Rip out LC ollama wrapper and use official library

* patch images with new ollama lib

* improve ollama offline message

* fix image handling in ollama llm provider

* lint

* NVIDIA NIM token tracking

* update openai compatbility responses

* UI/UX show/hide metrics on click for user preference

* update bedrock client

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-12-16 14:31:17 -08:00
Sean Hatfield
ae510619f0
Purge cached docs and remove docs from all workspaces on vectorDB/embedder changes (#2819)
* wip remove all docs clear vector db on embedder/vector db change

* purge all cached docs and remove docs from workspaces on vectordb/embedder change

* lint

* remove unneeded console log

* remove reset vector stores endpoint and move to server side updateENV with postUpdate check

* reset embed module

* remove unused import

* simplify deletion process
rescoped document deletion to be more general for speed, everything needs to be reset anyway
fixed issue where unembedded docs not in any workspaces, but cached, were not removed

* add back missing readme file
update warning text modals

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-12-16 12:16:20 -08:00
Andy Santana
0f52afdb9c
Fix(2753): Replace React Router Navigate with window.location for SSO state refresh (#2818)
* fix(2753): update SSO redirect to use window.location.replace

* fix(2753): remove unused import

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-12-12 13:33:30 -08:00
Timothy Carambat
a89d8fcfe4
patch ZH typo (#2816) 2024-12-12 10:24:42 -08:00
Timothy Carambat
e4a556d551
Add support for hiding sidebar (#2809)
* Add support for hiding sidebar
Support cmd/ctrl + shift +s for quick hide/show

* patch sidebar padding on collapse

* update Key for sidebar setting
2024-12-11 17:18:38 -08:00
Sean Hatfield
426e2360b3
Redirect to default thread on thread deletion (#2808)
* redirect to default thread on thread deletion

* reset submodule

* handle redirect on bulk delete thread

* redirect on bulk thread delete only if deleted thread is selected

* redirect only on single delete of active thread

* lint

* patch threadSlug for clarity

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-12-11 17:00:30 -08:00
timothycarambat
f8e91e1ffa patch gemini-2.0-key 2024-12-11 16:52:31 -08:00
Sean Hatfield
71a6646b47
Fix timestamp bug in embed widget (#2806)
* fix timestamp bug in embed widget

* bump embed for formatDate fallback

* bump embed module

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-12-11 14:15:15 -08:00
timothycarambat
69b672b625 add gemini 1206 and gemini-2.0-flash exp models
connect #2788
2024-12-11 09:04:29 -08:00
Timothy Carambat
b2dd35fe15
Add Support for NVIDIA NIM (#2766)
* Add Support for NVIDIA NIM

* update README

* linting
2024-12-05 10:38:23 -08:00
timothycarambat
6c9e234227 patch button normalization for desktop builds 2024-11-26 11:48:28 -08:00
Sean Hatfield
9608599dd2
Community hub integration UX improvements (#2727)
* add empty states to your account hub page + disconnect button for api key

* lint

* lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-11-26 11:39:37 -08:00
timothycarambat
c3d098fdb9 Patch light mode on Community Hub import flow 2024-11-26 10:31:38 -08:00
Sean Hatfield
05c530221b
Community hub integration (#2555)
* wip hub connection page fe + backend

* lint

* implement backend for local hub items + placeholder endpoints to fetch hub app data

* fix hebrew translations

* revamp community integration flow

* change sidebar

* Auto import if id in URL param
remove preview in card screen and instead go to import flow

* get user's items + team items from hub + ui improvements to hub settings

* lint

* fix merge conflict

* refresh hook for community items

* add fallback for user items

* Disable bundle items by default on all instances

* remove translations (will complete later)

* loading skeleton

* Make community hub endpoints admin only
show visibility on items
combine import/apply for items to they are event logged for review

* improve middleware and import flow

* community hub ui updates

* Adjust importing process

* community hub to dev

* Add webscraper preload into imported plugins

* add runtime property to plugins

* Fix button status on imported skill change
show alert on skill change
Update markdown type and theme on import of agent skill

* update documentaion paths

* remove unused import

* linting

* review loading state

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-11-26 09:59:43 -08:00
timothycarambat
8c9e9f2ec1 fix advanced setting fields hover onlight mode 2024-11-25 21:08:52 -08:00
Timothy Carambat
f7289cd90f
Normalize Input Fields (#2720)
* WIP field normalization

* more norms
2024-11-25 21:07:23 -08:00
Timothy Carambat
c9d49a5f32
Fix markdown issue where type is missing in backticks (#2719) 2024-11-25 17:47:13 -08:00
timothycarambat
8dcf23748c fix mistral key on embedder selection 2024-11-22 16:47:27 -08:00
timothycarambat
e4f47c1abf linting 2024-11-21 15:49:59 -08:00
timothycarambat
56793ed9a0 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2024-11-21 12:43:36 -08:00
timothycarambat
f6ab3313c7 patch baseURL in builder for logo 2024-11-21 12:43:27 -08:00
Debugs
c30ebb7fb1
feat: Add Vietnamese translations and configuration (#2641)
* Create common.js

update file common.js language vietnam

* Update resources.js

* Update common.js

* Update resources.js

* Update common.js

* Update resources.js

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-11-21 12:09:10 -08:00
Sean Hatfield
190a481536
Adjustable font size in chat input (#2692)
* adjustable prompt input text sizing

* dev build

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-11-21 12:07:46 -08:00
hdelossantos
304796ec59
feat: support setting maxConcurrentChunks for Generic OpenAI embedder (#2655)
* exposes `maxConcurrentChunks` parameter for the generic openai embedder through configuration. This allows setting a batch size for endpoints which don't support the default of 500

* Update new field to new UI
make getting to ensure proper type and format

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-11-21 11:29:44 -08:00
Sean Hatfield
9f38b9337b
Mistral embedding engine support (#2667)
* add mistral embedding engine support

* remove console log + fix data handling onboarding

* update data handling description

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-11-21 11:05:55 -08:00
timothycarambat
246152c024 Add gemini-exp-1121
resolves #2657
2024-11-21 11:02:43 -08:00
Timothy Carambat
26e2d8cc3b
Add more expiermental models from Gemini (#2663) 2024-11-20 09:52:33 -08:00
Timothy Carambat
907a03bb67
Pr 2660 branch (#2662)
* Add a basic Traditional Chinese(zh_TW) locale

* patch lang code

---------

Co-authored-by: Peter Dave Hello <hsu@peterdavehello.org>
2024-11-20 09:34:53 -08:00
timothycarambat
363f51ab51 refresh theme without reloading page 2024-11-19 20:38:07 -08:00
timothycarambat
988181afde update light/dark codeblock styles for visibility
patch embed modal text invisible
patch toggle colors
2024-11-19 17:37:22 -08:00
timothycarambat
fa7c530ed8 UI light QA 2024-11-19 16:33:22 -08:00
timothycarambat
444c179231 add back timeout for documents to fade out 2024-11-19 09:59:27 -08:00
timothycarambat
51696a7019 show error in upload 2024-11-19 09:58:16 -08:00
timothycarambat
6de29cb241 update uploader status containers for new theme 2024-11-19 09:56:06 -08:00
Sean Hatfield
727d802779
Light/dark mode UI overhaul (#2629)
* Refactor workspace sidebar component styles (#2380)

rely on css for conditional styles

* New sidebar colors (#2381)

new sidebar colors

* Main container color update (#2382)

* Dark mode setup themes (#2411)

* setup generic tailwind theme + ability to add new themes

* add theme context

* use correct colors from design for sidebar + fix padding

* Settings sidebar UI updates (#2416)

settings sidebar ui updates

* fix sidebar resizing/truncate issue on hover

* Dark mode chat window (#2443)

* Support XLSX files (#2403)

* support xlsx files

* lint

* create seperate docs for each xlsx sheet

* lint

* use node-xlsx pkg for parsing xslx files

* lint

* update error handling

---------

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

* wip chat window

* ux+ux improvements and update new colors

* chat window dark mode

* remove comment

---------

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

* Dark mode welcome page (#2444)

* dark mode welcome page styles + refactor

* remove AI_BACKGROUND_COLOR and USER_BACKGROUND_COLOR constants

* Dark mode UI for admin and tools pages + mobile view improvements (#2454)

* dark mode ui for admin and tools pages + mobile view improvements

* lint

* ai provider pages + options darkmode ui

* placeholder generic class

* appearance settings styles

* ai providers mobile margin

* dark mode styles for agent skills + experimental features

* mobile styles on security settings

* fine tune flow ui dark mode

* workspace settings page

* lint

* Dark mode onboarding (#2461)

dark mode onboarding

* update all modals + normalize styles (#2471)

* lint

* Dark mode privacy & experimental pages (#2479)

* document watch + privacy pages ui + mobile modal darkmode

* lint

* Dark mode login screens (#2483)

* multi-user auth screen ui update

* dark mode login screen + recovery key modals

* remove unneeded import

* Workspace preset commands modals dark mode (#2484)

update workspace preset dark mode modal

* Document pinning modal ui update (#2490)

document pinning modal ui update

* Experimental agreement modal dark mode (#2491)

experimental agreement modal dark mode

* Serp options dark mode (#2492)

serp options dark mode

* field fixes

* attempt light mode wip

* setting sidebar

* Toasts and threads

* main page content and privacy page

* force rewrite for light

* add border for light mode rightside content

* more fixes

* wip

* wip

* wip light mode implementation

* wip dark light mode file picker

* document picker light mode ui

* slight ui tweaks

* light mode fine tuning flow

* light mode tweaks + qa fixes

* fix md rendering of light mode + tooltip fixes

* lint

* qa bug fixes

* Add developer hook for theme
move provider to outmost layer

* qa light mode bug fixes

* Linting and hotfixes for UI

* Light mode to dev

* accept invite light mode ui fix

* Fix onboarding inputs in dark mode

* fix close icons
last minute items

* patch z-index on tooltips

* patch light mode citations

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-11-18 15:40:18 -08:00
timothycarambat
da3d0283ff update onboarding survery endpoint 2024-11-13 12:53:45 -08:00
Timothy Carambat
b701660f88
Frontend performance improvements (#2627)
* Frontend performance improvements

* test docker build
2024-11-13 11:11:13 -08:00
Timothy Carambat
2f56327962
Add undo/redo functionality #2591 (#2623)
* initial work - undo works except typed keys

* working but clunky code

* single letter and paste with no selection working

* add comments and keep the previous selection

* optimizations + add redo feature

* linting

---------

Co-authored-by: Mr Simon C <iamontheinternet@yahoo.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-11-12 15:49:10 -08:00
timothycarambat
2d59e30290 linting 2024-11-12 15:48:24 -08:00
Sean Hatfield
4d15d4b192
Fix chat window scrollbar appearance option (#2589)
* wip fix chat window scrollbar

* fix chat/default chat window scrollbare option

* lint

* small lint and refactor

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-11-12 10:23:30 -08:00
Gabriel Le Breton
f5a319de45
Update GitLab PAT token url (#2598)
Update gitlab PAT token url for Gitlab
2024-11-07 18:45:58 -08:00
Melroy
301f5127ff
Added translation dutch (nl) (#2595)
* Create common.js

Dutch translation

* Update resources.js

Add NL
2024-11-07 08:51:14 -08:00
timothycarambat
5aa79128f7 bump Anthropic models 2024-11-06 08:14:08 -08:00
Sean Hatfield
a2eced0b43
DuckDuckGo web search agent skill support (#2584)
* duckduckgo web search agent skill support

* move ddg to first option in dropdown menu

* lint

* add duckduckgo option stating no config required
2024-11-04 17:01:11 -08:00
Timothy Carambat
80565d79e0
2488 novita ai llm integration (#2582)
* feat: add new model provider: Novita AI

* feat: finished novita AI

* fix: code lint

* remove unneeded logging

* add back log for novita stream not self closing

* Clarify ENV vars for LLM/embedder seperation for future
Patch ENV check for workspace/agent provider

---------

Co-authored-by: Jason <ggbbddjm@gmail.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-11-04 11:34:29 -08:00
Timothy Carambat
dd2756b570
add sessionToken validation connection auth for AWSbedrock (#2554) 2024-10-29 16:34:52 -07:00
Timothy Carambat
2c9cb28d5f
Simple SSO feature for login flows from external services (#2553)
* Simple SSO feature for login flows from external services

* linting
2024-10-29 15:30:53 -07:00
Timothy Carambat
5bc96bca88
Add Grok/XAI support for LLM & agents (#2517)
* Add Grok/XAI support for LLM & agents

* forgot files
2024-10-21 16:32:49 -07:00
Timothy Carambat
0524aadf58
Enable the ability to disable the chat history UI (#2501)
* Enable the ability to disable the chat history UI

* forgot files
2024-10-21 13:19:19 -07:00
Timothy Carambat
36af69b4a8
Patch DNDFilePicker useEffect callback (#2506) 2024-10-20 10:46:18 -07:00
Timothy Carambat
93d7ce6d34
Handle Bedrock models that cannot use system prompts (#2489) 2024-10-16 12:31:04 -07:00
Timothy Carambat
3dc0f3f490
Tts open ai compatible endpoints (#2487)
* Update OpenAI TTS config to allow a custom BaseURL

* uncheck config file

* break openai generic TTS into its own provider

* add space

* hide TTS on user msg

---------

Co-authored-by: Adam <phazei@gmail.com>
2024-10-15 21:39:31 -07:00
Sean Hatfield
fa528e0cf3
OpenAI o1 model support (#2427)
* support openai o1 models

* Prevent O1 use for agents
getter for isO1Model;

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-10-15 19:42:13 -07:00
Sean Hatfield
6674e5aab8
Support free-form input for workspace model for providers with no /models endpoint (#2397)
* support generic openai workspace model

* Update UI for free form input for some providers

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-10-15 15:24:44 -07:00
Sean Hatfield
be6289d141
Daily message limit per user (#2417)
* set message limit per user

* remove old limit user messages + unused admin page

* fix daily message validation

* refactor message limit input
refactor canSendChat on user to a method on user model

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-10-15 14:01:29 -07:00
Sean Hatfield
15ca5e8103
Fix file name/folder name truncation (#2456)
fix filename/foldername truncation

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-10-15 12:52:01 -07:00
Sean Hatfield
52f2f87179
Pasting text bug fix (#2425)
pasting text bug fix

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-10-15 12:46:53 -07:00
Sean Hatfield
cb4b0a878e
LiteLLM agent support (#2460)
* litellm agent support

* lint

* add LiteLLM provider config

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-10-15 12:43:14 -07:00
Timothy Carambat
bce7988683
Integrate Apipie support directly (#2470)
resolves #2464
resolves #989
Note: Streaming not supported
2024-10-15 12:36:06 -07:00
Timothy Carambat
1a0ddfcd20
hide config for agent skills to manager (perm not allowed) (#2469) 2024-10-14 14:25:22 -07:00
Sean Hatfield
5ac6020480
Tavily search web search agent support (#2395)
* support tavily search web search agent

* lint

* remove unneeded comments
2024-10-01 14:52:57 -07:00
Blazej Owczarczyk
e07535471f
Added voyage-3 and voyage-3-lite. (#2394) 2024-09-30 09:37:25 -07:00
Timothy Carambat
300e141736
Patch bug with pasted text not being detected (#2386) 2024-09-28 15:29:31 -07:00
timothycarambat
30d2f0914a Once again, modify Confluence to support every esoteric combination and undocumented way of running Confluence ever devised
resolves #2379
2024-09-27 09:43:19 -07:00
Sean Hatfield
7390bae6f6
Support DeepSeek (#2377)
* add deepseek support

* lint

* update deepseek context length

* add deepseek to onboarding

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-09-26 12:55:12 -07:00
Blazej Owczarczyk
b2123b13b0
Added an option to fetch issues from gitlab. Made the file fetching a… (#2335)
* Added an option to fetch issues from gitlab. Made the file fetching asynchornous to improve performance. #2334

* Fixed a typo in loadGitlabRepo.

* Convert issues to markdown.

* Fixed an issue with time estimate field names in issueToMarkdown.

* handle rate limits more gracefully + update checkbox to toggle switch

* lint

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2024-09-26 11:45:18 -07:00
Timothy Carambat
961b567541
Add dropdown for confluence connector deployment (#2376) 2024-09-26 08:49:05 -07:00
Sean Hatfield
4488744850
Support more Confluence URL formats (#2118)
* support more confluence url formats

* use pattern matching for confluence urls and manual splitting as fallback

* rework entire Confluence flow to prevent issues with custom, local, and cloud spaces

* remove dep

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-09-25 16:12:17 -07:00
Sean Hatfield
074088d3cb
Bulk document removal from workspace
* wip improve remove document ux

* fix border ui bugs when adding files to workspace

* sort workspacedirectory put adding files at top

* fix workspace file row ui shifting

* fix selected items bug when adding another item with items already selected on workspace

* fix tooltip

* lint

* refactor

* fix bug where unadding single item while selected would stay selected

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-09-25 13:04:42 -07:00
Sean Hatfield
4ebc37b4e3
Export embedded chat history (#2329)
export embedded chat history

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-09-24 16:05:34 -07:00
Sean Hatfield
ac91d0df9a
Add select/unselect all context menu to directory component (#2337)
add select/unselect all context menu to directory component
2024-09-23 14:19:55 -05:00
timothycarambat
48c9c2e212 Dont overwrite content in input on paste
linting
2024-09-23 11:07:56 -05:00
Sean Hatfield
d75fee0c07
Make streaming behavior more natural (#2336)
* fix scrolling behavior + add cursor to streaming chats

* lint

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-09-23 10:53:36 -05:00
Timothy Carambat
84c1f6e0ea
Add ability to copy/paste images, files, and text from web, local, or otherwise (#2326) 2024-09-19 14:44:49 -05:00
Sean Hatfield
b7c7c0db98
Add more verbose error messages in embed chat (#2306)
* publish embed updates

* server sided error messages

* publish embed chat widget

* sync submodule

* unset change

* update embed to merged changes for error

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2024-09-19 11:28:45 -05:00
Sean Hatfield
fb191d8ba7
Appearance setting for show/hide scroll bar on chat window (#2187)
* implement appearance setting for show/hide scrollbar

* put back comments

* revert backend for show_scrollbar

* show scrollbar save to localstorage

* old model function

* lint

* edit

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2024-09-16 16:09:54 -07:00
Timothy Carambat
a30fa9b2ed
1943 add fireworksai support (#2300)
* Issue #1943: Add support for LLM provider - Fireworks AI

* Update UI selection boxes
Update base AI keys for future embedder support if needed
Add agent capabilites for FireworksAI

* class only return

---------

Co-authored-by: Aaron Van Doren <vandoren96+1@gmail.com>
2024-09-16 12:10:44 -07:00
Timothy Carambat
0deb0a01c6
Patch 11Labs selection UI bug (#2284)
* Patch 11Labs selection UI bug

* remove log
2024-09-13 18:00:28 -07:00
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
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
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
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
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