Commit Graph

763 Commits

Author SHA1 Message Date
Timothy Carambat
c218a0dfe3
Mobile sync support (#4173)
* WIP on mobile connections
todo: register devices
todo: data sync or connection

* improve connection flow and registration
add streaming from service
TODO: user scoping

* dev build mobile support

* fix path

* handle relative URLs

* handle localhost access in product

* add device de-register

* sync styles

* move UI to be out of the normal path since beta only

* Add user scoping to mobile connection requests
Remigrate DB for user associations
Implement temp token registration to prevent unauthorized device registration requests
cleanup middlewares
2025-07-31 12:28:03 -07:00
Timothy Carambat
755ef4bb80
STT append spoken text (#4216)
* STT append spoken text

* remove default args from calls

* fix bug where message and input were out of sync

* update diffs
2025-07-31 12:23:36 -07:00
timothycarambat
f1486c03f7 patch microphone tooltip id mismatch 2025-07-30 11:39:06 -07:00
Timothy Carambat
24f176c049
[Chore]: sendCommand non positional call signature (#4218)
Chore: `sendCommand` non positional call signature
2025-07-30 11:28:02 -07:00
Sean Hatfield
8c7923a283
Fix app version metrics endpoint (#4209)
fix app version metrics endpoint
2025-07-28 15:37:06 -07:00
Roman Wu
78cbb06c57
Modify the PostgreSQL SQL connector to support querying tables from schemas other than the default public schema. (#4202)
* Add PostgreSQL schema support to SQL connector

- Add schema configuration option to PostgreSQL connector
- Update SQL queries to filter by specified schema
- Add schema input field to frontend connection modal (PostgreSQL only)
- Default to 'public' schema when no custom schema specified
- Add getQualifiedTableName() method for schema.table format

* Fix code formatting after linting

* Update Postgresql.js

* add back removal of ending curly brace

* Update Postgresql.js

* add back removal of ending curly brace (again?)

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-28 08:43:15 -07:00
Anton Harder
89724169dc
fix: correct some typos and grammatical errors in translation strings and index.jsx (#4195)
fix(locales): correct some typos and grammatical errors in translation strings and index.jsx
2025-07-23 11:10:18 -07:00
Timothy Carambat
2c19dd09ed
Native Embedder model selection (incl: Multilingual support) (#3835)
* WIP on embedder selection
TODO: apply splitting and query prefixes (if applicable)

* wip on upsert

* Support base model
support nomic-text-embed-v1
support multilingual-e5-small
Add prefixing for both embedding and query for RAG tasks
Add chunking prefix to all vector dbs to apply prefix when possible
Show dropdown and auto-pull on new selection

* norm translations

* move supported models to constants
handle null seelction or invalid selection on dropdown
update comments

* dev

* patch text splitter maximums for now

* normalize translations

* add tests for splitter functionality

* normalize

---------

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-07-22 10:07:20 -07:00
Sean Hatfield
6d6bd14622
Moonshot AI LLM & agent provider (#4178)
* add moonshot ai LLM & agent provider

* fix moonshot agent calling

* handle attachments/fix moonshot llm provider

* update docs/example env

* add moonshot to onboarding privacy

* add moonshot to onboarding llm preference

* update privacy for moonshot ai

* update logo higher res

* remove caching and use modelmap
2025-07-22 09:56:51 -07:00
Sean Hatfield
ea8ba2f7f2
Clear cached docs on text splitter changes (#4163)
* clear cached docs on text splitter changes

* update warning message and title

* remove unsused translation keys

* wrap trycatch

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-17 11:03:18 -07:00
Timothy Carambat
043cb1d085
Add model field parameter for generic OpenAI TTS (#4171)
resolves #4165
2025-07-17 10:28:51 -07:00
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