Commit Graph

952 Commits

Author SHA1 Message Date
timothycarambat
a04b9c9d60 clear errors on submit for DB validations 2025-07-16 09:30:04 -07:00
Sean Hatfield
49ea545d7f
SQL preflight connection validation (#4150)
* wip sql connection string validation

* handle failed sql connections in frontend

* sql preflight connection validation on modal save

* revert unneeded be/fe changes

* linting, form updates

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-16 09:02:39 -07:00
Timothy Carambat
9bd77b0c2d
set max codeblock width to prevent overflows (#4157) 2025-07-15 15:59:45 -07:00
Sean Hatfield
b0407a6bf2
Migrate text size menu to embedded tooltip (#4147)
* migrate font size menu to embedded tooltip modal

* lint

* fix text size menu ui

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-15 15:29:30 -07:00
Sean Hatfield
fe1dfb1fde
Add option to enable encryption on MSSQL Server db (#4134)
* add option to enable encryption on mssql server dbs

* add tests for ConnectionStringParser
2025-07-15 15:26:38 -07:00
wannabe_
6111a1660f
docs(zh-cn): Update and improve Simplified Chinese translations (#4137) 2025-07-14 08:33:47 -07:00
Sean Hatfield
cc38edeb58
Sticky code block header (#4130)
sticky code block header

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-11 11:16:04 -07:00
Chek
3b00020577
docs(i18n): Complete missing Chinese translations (#4123)
* docs(zh-tw, zh-cn): Complete missing Traditional and Simplified Chinese translations

This commit aims to complete all previously 'null' Traditional Chinese and Simplified Chinese translation keys in the project.

**Traditional Chinese (zh-tw):**
- Completed all 'null' descriptions in `/frontend/src/locales/zh_TW/common.js`.

**Simplified Chinese (zh-cn):**
- Completed all 'null' descriptions in `/frontend/src/locales/zh/common.js`.

---

此提交旨在補齊專案中所有原為 'null' 的繁體中文和簡體中文翻譯鍵值。

**繁體中文翻譯 (Traditional Chinese - zh-tw):**
- 完善了 `/frontend/src/locales/zh_TW/common.js` 裡所有 'null' 的說明。

**簡體中文翻譯 (Simplified Chinese - zh-cn):**
- 完善了 `/frontend/src/locales/zh/common.js` 裡所有 'null' 的說明。

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-11 09:27:49 -07:00
Timothy Carambat
ea956f4d77
Add ability to search workspace and threads (#4120)
* Add ability to search workspace and threads

* fix height

* styling

* update placeholder

* Translations PR (#4122)
2025-07-10 16:42:10 -07:00
Sean Hatfield
49293e7dd7
Configurable message limit for embed chat widget (#4114)
* configurable message limit for embed widget

* remove console log

* make field optional + add fallback

* rework validation logic

* lint

* remove field specific guard, it cannot be lte 0 like all other fields

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-10 12:45:53 -07:00
timothycarambat
58f8607094 update i18n key 2025-07-08 14:54:40 -07:00
timothycarambat
885b55fb88 force borders for desktop integration 2025-07-08 14:46:38 -07:00
Timothy Carambat
2c778e2a75
update typo in language key files (#4101)
update type in language key files
2025-07-07 13:38:26 -07:00
ux-builder
dad5c8d8ae
feat: Add Korean (ko) locale translations (#4096)
* feat: Add Korean (ko) locale translations

- Add comprehensive Korean translations for UI elements
- Include main page features, workspace settings, and chat components
- Support Korean localization for common user interactions

* updates, lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-07 13:33:48 -07:00
Timothy Carambat
e13d06c430
Polish translations (#4100)
* Add translations into Polish

* fix translation miss

---------

Co-authored-by: Jakub Jadczak <jakubjadczak02@gmail.com>
2025-07-07 13:32:22 -07:00
Sean Hatfield
e230973abb
Add hint for chats in query mode (#4076)
* add hint for chats in query mode

* add and normalize translations

* improve semantic HTML for linking

* use existing util

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-02 08:30:27 -07:00
Martin
76b80d149a
Update common.js spellcheck for zh_TW (#4074)
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-07-01 10:31:18 -07:00
Sean Hatfield
6a32e688b8
Move show scrollbar option to chat settings (#4078)
move show scrollbar option to chat settings
2025-07-01 10:30:12 -07:00
Tarkva
45e2f85f1c
Added Estonian translation (#4067)
* Added Estonian translation

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-06-30 13:11:32 -07:00
Sean Hatfield
91e498229c
Publish slash commands to hub (#4019)
* implement ui for publish system prompt to hub

* rework ui + add backend to upload to hub

* add success modal view + publish menu item + translations

* normalize translations

* refactor PublishEntityModal + add hook
for hub auth

* normalize translations

* fix ui for success screen

* refactor, auth checks, UI/UX, and naming conventions to be more clear

* move components to CommunityHub folder + small ui tweak

* wip publish agent flows to community hub

* rework translations/implement uploading agent flows

* normalize/restructure translations

* rename component/add jsdoc for consistency

* fix en translation

* remove comments/duplicate function from merge conf

* update styles of publish button in flow builder

* resolve ssr icon issue

* implement uploading slash commands to hub

* normalize translations

* show command, non editable

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-06-24 16:19:50 -07:00
Sean Hatfield
2d210aa90a
Publish agent flows to hub (#4001)
* implement ui for publish system prompt to hub

* rework ui + add backend to upload to hub

* add success modal view + publish menu item + translations

* normalize translations

* refactor PublishEntityModal + add hook
for hub auth

* normalize translations

* fix ui for success screen

* refactor, auth checks, UI/UX, and naming conventions to be more clear

* move components to CommunityHub folder + small ui tweak

* wip publish agent flows to community hub

* rework translations/implement uploading agent flows

* normalize/restructure translations

* rename component/add jsdoc for consistency

* fix en translation

* remove comments/duplicate function from merge conf

* update styles of publish button in flow builder

* resolve ssr icon issue

* UI linting

* language diff

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-06-24 15:58:49 -07:00
Lev Lekush
b7773f2f9b
Added missing German translations (#4029)
added missing German translations

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-06-24 13:58:50 -07:00
Timothy Carambat
64d9fbc8f0
Show app version in system settings sidebar (#4044)
* Add version tagging
resolves #4038
closes #4034
closes #4028

* add hook

* add build

* patch
2025-06-24 13:56:12 -07:00
timothycarambat
c4f49ff6b4 resolve /ssr icon issue
resolves #4011
2025-06-16 14:29:33 -07:00
Sean Hatfield
96b532a0f4
Publish system prompts to hub (#3976)
* implement ui for publish system prompt to hub

* rework ui + add backend to upload to hub

* add success modal view + publish menu item + translations

* normalize translations

* refactor PublishEntityModal + add hook
for hub auth

* normalize translations

* fix ui for success screen

* refactor, auth checks, UI/UX, and naming conventions to be more clear

* move components to CommunityHub folder + small ui tweak

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-06-16 09:59:38 -07:00
timothycarambat
7d34ef426c remove unused hook effect 2025-06-13 14:35:50 -07:00
timothycarambat
825c5b044e Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-06-13 08:55:15 -07:00
timothycarambat
1478dca7de fix embed links
resolves #3995
2025-06-13 08:55:06 -07:00
kilavvy
1752bc261e
Fix Typos in Comments and Documentation (#3987)
* Update markdown-katex.js

* Update PRISMA.md
2025-06-12 13:59:38 -07:00
Timothy Carambat
2055c8accd
Flag to disable login UI and endpoints for credentialed auth (#3984)
* Flag to disable login UI and endpoints for credentialed auth

* dev build

* fix translation key
2025-06-11 12:46:40 -07:00
Timothy Carambat
c0d66e6c19
Enable UI/UX for model swapping in chat window (#3969)
* Enable UI/UX for model swapping in chat window

* forgot component

* patch useGetProviders hook to set loading on change of provider

* dev build

* normalize translations

* patch how model default is provided

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-06-09 09:59:17 -07:00
Sean Hatfield
020acde3b9
Fix text wrapping in directory tooltip (#3967)
* fix text wrapping in directory tooltip

* fix tooltips

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-06-06 10:01:16 -07:00
Stoufiler
aa5e110c67
Fix some french translations (#3959) 2025-06-06 09:00:07 -07:00
Sean Hatfield
ef0928993e
Implement importing of agent flows from community hub (#3867)
* implement importing of agent flows from community hub

* auto enable flow on import

* remove unused blocks for docker
prevent importing or saving of agent flows that have unsupported blocks for version or platform

* dev build

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-06-05 15:08:58 -07:00
Sean Hatfield
77f6262290
Direct output for agent flows (#3873)
* wip: create direct output switch on last block and send response to ui

* lint

* Return flow on direct output enabled
prevent new blocks below direct output block
Update executor/aibitat to handle skipping of handler outputs

* dev build

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-06-05 14:46:44 -07:00
Sean Hatfield
8dd328cbea
ManageWorkspace styles update (#3948)
* update colors for workspace directory recent added files & remove shadows

* patch styles and loading states

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-06-05 08:17:11 -07:00
Timothy Carambat
271a682824
remove LLM Instruction inputVariable requirement (#3954) 2025-06-05 07:43:25 -07:00
Sean Hatfield
c69cb32ea6
New embedded chat widget UI/UX (#3899)
* wip create skeleton for new embed chat ui/ux

* update ui for embed chats

* lint

* update sidebar/paths

* remove old embed pages

* patch broken link

* add created timestamp to differentiate embeds
update translation key to lowercase
add created at translation key

* update text colors

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-06-03 16:21:20 -07:00
JairoMarques
337d46d178
Add missing localizations (#3925)
* Add missing localizations

* remove unnecessary translations

* remove unused entry

* normalize translations

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-06-03 14:33:28 -07:00
Sean Hatfield
20321d6cfb
Add support for PUT and PATCH in agent flow builder API call block (#3937)
add support for PUT and PATCH in agent flow builder api call block

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-06-03 14:20:02 -07:00
JairoMarques
35f84c257c
Update more Brazilian Portuguese locale (pt_BR) (#3923)
* Compatibilizations with 'en' file to maintain line relations to easy translations

* Add missing pt_BR translations

* Maintain compatibilization

* linting

* normalize

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-06-03 11:30:25 -07:00
Sean Hatfield
c031969b84
Remove border around image upload component (#3900)
remove border around image upload component
2025-05-27 21:51:48 -07:00
Sean Hatfield
b3a95f7f1c
Update styles of attachments uploaded in PromptInput (#3892)
* update ui for attachment item component

* fix attachment styles and spacing of prompt input

* lint

* fix loading state for dark/light modes

* truncate error message

* image attachment fix

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-27 17:24:48 -07:00
Timothy Carambat
2f48cd1e0b
Add Latvian language (#3897) 2025-05-27 16:19:15 -07:00
timothycarambat
a7c2a56e4b add normalize function on translations
norm translations due to keyboard shortcut entries
2025-05-27 14:28:12 -07:00
Aashish Anand
2cabb2fad8
Keyboard shortcut support (#3890)
* Add keyboard shortcuts help feature

* Minor lint fixes

* Enhance keyboard shortcuts feature by updating help shortcut and adding keyboard shortcuts button in Quick Links. Include new translation for keyboard shortcuts in locale.

* Added documentation of keyboard shortcuts

* refactor keyboard shortcuts to not render on every page (like login)
limit shortcuts to admins
update locales
remove keyboard shortcut button - move to resources
remove readme entry

* move translation key

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-27 14:25:39 -07:00
JairoMarques
07e5b70f13
Feat/missing localizations (#3881)
* Update Brazilian Portuguese locale (pt_BR)

* Add missing localizations in chat window

* normalize translations

* lint

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-27 14:09:06 -07:00
Sean Hatfield
202462fb6f
Update citations UI (#3837)
* new ui for citations

* move onclick to parent

* lint

* change div to button

* update citations UI and parsing to inherit user text size and design specs

* new render animation for citations
fix bug with citation on score on modal

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-27 08:29:52 -07:00
yuanbin
dc8b204cd1
Fix File attachments are not cleared on second send click when use @a… (#3843)
Fix File attachments are not cleared on second send click when use @agent

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-27 07:38:11 -07:00
Colin Perry
3c44d6a656
Removed redundant scrollbar in search containers (#3865)
* removed extra overflow scrollbar

* improved scrollbar presentation

* ran yarn lint

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-26 16:37:51 -07:00
JairoMarques
58f0164978
Update Brazilian Portuguese locale (pt_BR) (#3879)
* Update Brazilian Portuguese locale (pt_BR)

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-26 16:25:53 -07:00
timothycarambat
de9d3646ef zh lint 2025-05-19 13:05:39 -07:00
Shixian Sheng
ff9395e79e
Updated Chinese locale (#3852)
* Update README.zh-CN.md

* Update common.js

* Update common.js
2025-05-19 11:57:31 -07:00
timothycarambat
97b8b3ad6f refactor citation parser 2025-05-16 12:19:02 -07:00
Timothy Carambat
f259fef6ee
Disable message send while content is embedding (#3832)
* Disable message send while content is embedding

* opacity

* normalize langs

* remove console log

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-05-16 11:35:33 -07:00
Sean Hatfield
9371bcc71e
Optional summarization for web-scraping flow block (#3496)
* remove summarization from web-scraping flow block

* add option to enable/disable summarization in web-scraping block

* change layout
summarize default to true (was the normal prior)

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-15 11:50:09 -07:00
timothycarambat
da11f3b997 patch api key bad ref.current on add post removal 2025-05-14 16:05:10 -07:00
timothycarambat
dbd8afe1d2 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2025-05-14 15:26:20 -07:00
timothycarambat
605910b76d forgot files for DPAIS 2025-05-14 15:26:14 -07:00
Timothy Carambat
378ceaecec
Support Dell Pro AI Studio provider (#3829) 2025-05-14 15:10:48 -07:00
Sean Hatfield
8560b0039f
Improve UX for API keys and invitations (#3828)
* fix ux for create api key and create invite

* lint

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-14 13:47:28 -07:00
Sean Hatfield
092e7afda2
Update light mode designs for system prompt history (#3818)
* update light mode designs for system prompt history

* lint

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-05-14 09:54:16 -07:00
omahs
946be93f08
Fix typos (#3826)
* Fix typos

* language

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-05-14 09:30:28 -07:00
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