Commit Graph

1544 Commits

Author SHA1 Message Date
Sean Hatfield
f0cdea4e35 Ignore hasOwnProperty linting errors (#4406)
ignore hasOwnProperty linting errors
2025-09-18 19:16:52 -07:00
Máté Kristóf
01a3cc92d0 Enhanced Chat Embed History View (#4281)
* Enhanced Chat Embed History View

* Robust Markdown Rendering
Improved "Thinking" View

* feat: Improve markdown rendering in chat embed history

* update ui for show/hide thoughts in embed chat history

* refactor -always show thoughts if available

* patch unused imports and use safeJsonParse

* update fallback for loading state to always reset

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
2025-09-17 21:14:18 -07:00
Chaser Huang
226802d35a API request delay for Generic OpenAI embedding engine (#4317)
* Add ENV to configure api request delay for generic open ai embedding engine

* yarn lint formatting

* refactor

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-09-17 20:53:41 -07:00
Timothy Carambat
95557ee16f Allow user to specify args for chromium process so they dont need SYS_ADMIN on container. (#4397)
* allow user to specify args for chromium process so they dont need SYS_ADMIN perms

* use arg flag content

* update console outputs
2025-09-17 16:31:08 -07:00
Timothy Carambat
7864e1a970 Report sources in API responses on finalized chunk (#4396) 2025-09-17 15:16:35 -07:00
Marcello Fitton
50d4a198a4 Add User-Agent header on the requests sent by Generic OpenAI providers. (#4393)
* Add User-Agent header on the requests sent by Generic OpenAI providers.

* Moved getAnythingLLMUserAgent helper fn to server/endpoints/utils.js and changed fallback version string to "unknown"

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-09-17 13:08:18 -07:00
Timothy Carambat
e81bd471dd patch folder name GET request response (#4395)
* patch folder name GET request response

* fix response cb
2025-09-17 13:05:11 -07:00
Timothy Carambat
cd063af4d1 Add support for SIMPLE_SSO_NO_LOGIN_REDIRECT config setting (#4394)
* Add support for `SIMPLE_SSO_NO_LOGIN_REDIRECT` config setting

* reset changes on simple page

* redirect at root

* remove paths change
2025-09-17 12:51:00 -07:00
Jonas Stawski
b8d4cc3454 Added metadata parameter to document/upload, document/upload/{folderName}, and document/upload-link (#4342)
* Added the ability to pass in metadata to the /document/upload/{folderName} endpoint

* Added the ability to pass in metadata to the /document/upload-link endpoint

* feat: added metadata to document/upload api endpoint

* simplify optional metadata in document dev api endpoints

* lint

* patch handling of metadata in dev api

* Linting, small comments

---------

Co-authored-by: jstawskigmi <jstawski@getmyinterns.org>
Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-09-17 11:17:29 -07:00
Timothy Carambat
9841deb513 update save file agent text (#4389)
resolves #4388
2025-09-16 19:00:49 -07:00
Sean Hatfield
a97b51496d Resize chat textarea on paste (#4369)
resize chat textarea on paste
2025-09-16 16:35:06 -07:00
TensorNull
5922349bb7 feat: Implement CometAPI integration for chat completions and model m… (#4379)
* feat: Implement CometAPI integration for chat completions and model management

- Added CometApiLLM class for handling chat completions using CometAPI.
- Implemented model synchronization and caching mechanisms.
- Introduced streaming support for chat responses with timeout handling.
- Created CometApiProvider class for agent interactions with CometAPI.
- Enhanced error handling and logging throughout the integration.
- Established a structure for managing function calls and completions.

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-09-16 14:38:49 -07:00
timothycarambat
631dd2e7cd Update Sponsors README 2025-09-10 12:10:02 +00:00
timothycarambat
eb3cc98a3c update bare metal docs 2025-09-03 11:12:07 -07:00
beckeryuri
4f86a513fc feat(i18n): add missing Portuguese (Brazil) translations (#4328)
* feat(i18n): add missing Portuguese (Brazil) translations

- Add missing translations for common UI elements
- Fix null values in pt_BR locale file
- Complete translation coverage for Portuguese Brazilian users

* normalized and verified

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-09-03 11:02:39 -07:00
Colin Perry
2500c94b83 Fix: missing edit icon for prompts (#4344)
consolidated duplicate handler to fix prompt icon behavior

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-09-03 10:44:27 -07:00
Sean Hatfield
e31465a639 Export image support for JSON and JSONL (#4359)
* export image support for json and jsonl

* add tests and cleanup functionality

* add test for convertTo prepare function

* comment

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-09-03 10:30:57 -07:00
timothycarambat
bb7d65f0eb patch missing options
resolves #4316
2025-08-20 10:51:14 -07:00
timothycarambat
6358d087c2 Fix /openai/models compat endpoint to return correct response schema
resolves #4295
2025-08-15 14:46:51 -07:00
Sean Hatfield
b44cf21caa Allow default users to reorder workspaces (#4292)
* allow default users to reorder workspaces

* unneeded prop

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2025-08-14 20:50:11 -07:00
timothycarambat
a4a84f9bdd forgot 1.8.5 tag :) 2025-08-14 17:43:55 -07:00
timothycarambat
e6a33ec091 patch paths v1.8.5 2025-08-14 13:40:57 -07:00
timothycarambat
0200e647b8 add back normalization + docs link 2025-08-14 11:43:04 -07:00
Ashika Anand Babu
43e5d04053 Update Security UI to match all other Settings (#4274)
* Update Security UI to match all other Settings

* Normalizing translations

* Running yarn lint

* Set back all the null values

* fix spacing + lint

* remap name

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-08-12 16:34:54 -07:00
Sean Hatfield
c6e1b9c3e2 Chroma Cloud vector db provider (#4273)
* add chroma cloud as new vector db provider

* update docker example env

* extend chroma class to chroma cloud

* update readme

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-08-12 16:21:14 -07:00
dp
a432f82b4a Update common.js (#4278)
* Update common.js

Improving the Romanian translation and filling in missing elements.

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-08-12 16:18:15 -07:00
Neha Prasad
a230a44f5c feat: Add Exa as a Search Provider (#4258)
* Added exa-search case to the search provider switch in web-browsing.js

* Added ExaSearchOptions component for API key input

* update

* Patch missing image crashing UI
Fix issue where ENV key did not exist or was saved on click
Update copy for provider
Add Docs for ENV keys for manual placements
update systemssettings for returning key saved to UI

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-08-11 09:46:50 -07:00
Timothy Carambat
0fb33736da Workspace Chat with documents overhaul (#4261)
* Create parse endpoint in collector (#4212)

* create parse endpoint in collector

* revert cleanup temp util call

* lint

* remove unused cleanupTempDocuments function

* revert slug change
minor change for destinations

---------

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

* Add parsed files table and parse server endpoints (#4222)

* add workspace_parsed_files table + parse endpoints/models

* remove dev api parse endpoint

* remove unneeded imports

* iterate over all files + remove unneeded update function + update telemetry debounce

* Upload UI/UX context window check + frontend alert (#4230)

* prompt user to embed if exceeds prompt window + handle embed + handle cancel

* add tokenCountEstimate to workspace_parsed_files + optimizations

* use util for path locations + use safeJsonParse

* add modal for user decision on overflow of context window

* lint

* dynamic fetching of provider/model combo + inject parsed documents

* remove unneeded comments

* popup ui for attaching/removing files + warning to embed + wip fetching states on update

* remove prop drilling, fetch files/limits directly in attach files popup

* rework ux of FE + BE optimizations

* fix ux of FE + BE optimizations

* Implement bidirectional sync for parsed file states
linting
small changes and comments

* move parse support to another endpoint file
simplify calls and loading of records

* button borders

* enable default users to upload parsed files but NOT embed

* delete cascade on user/workspace/thread deletion to remove parsedFileRecord

* enable bgworker with "always" jobs and optional document sync jobs
orphan document job: Will find any broken reference files to prevent overpollution of the storage folder. This will run 10s after boot and every 12hr after

* change run timeout for orphan job to 1m to allow settling before spawning a worker

* linting and cleanup pr

---------

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

* dev build

* fix tooltip hiding during embedding overflow files

* prevent crash log from ERRNO on parse files

* unused import

* update docs link

* Migrate parsed-files to GET endpoint
patch logic for grabbing models names from utils
better handling for undetermined context windows (null instead of Pos_INIFI)
UI placeholder for null context windows

* patch URL

---------

Co-authored-by: Sean Hatfield <seanhatfield5@gmail.com>
2025-08-11 09:26:19 -07:00
dp
9451cd596f feat: add Romanian translation (#4247)
* feat: add Romanian translation

* Update resources.js

Add Romanian

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-08-11 08:17:37 -07:00
Timothy Carambat
585308c2e5 docs(i18n): Complete missing Spanish translations (#4263)
* Update all null values for Spanish language

* linting

---------

Co-authored-by: Jesús Verduzco <3856266+jeverduzco@users.noreply.github.com>
2025-08-08 11:37:43 -07:00
start-life
20468d7053 Update common.js Hebrew language update (#4241)
* Update common.js

Hebrew language update

* linting

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-08-05 09:55:08 -07:00
Timothy Carambat
fe26312082 Fix password hint text (#4235) 2025-08-01 10:45:27 -07:00
Timothy Carambat
a9d9f9cdfd Add custom JWT TTL (#4234)
resolves #4224
2025-08-01 10:39:38 -07:00
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
4b7932f9e1 Fix agent iam_role implied agentic tool calling
resolves #4193
contrib: @bechir2000
2025-07-31 09:56:08 -07:00
Neha Prasad
ea5f66978b fix: API export-chats endpoint function import error (#4220)
fix: resolve prepareWorkspaceChatsForExport function not found error in API export-chats endpoint
2025-07-30 12:19:27 -07:00
Timothy Carambat
a0af24624d Update check for validFuncCall to only check required args and for undefined options (#4214)
* Update check for `validFuncCall` to only check required args and for undefined options

* update

* remove unused helper class func
2025-07-30 11:59:23 -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
Timothy Carambat
70a07b743b Update writeToServerDocuments to take config object (#4213) 2025-07-29 17:53:05 -07:00
timothycarambat
7692775942 minor change to XLSX parse and upload output folder 2025-07-29 17:44:47 -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
31a8ead823 Fix multimodal chats via openai compat api (#4135)
* fix multimodal chats via openai compat api

* lint

* add tests for multi-modal content in openai compat endpoint

* refactor to normalize how openai attachments are handled

* uncheck file

* rewrite tests, autodetect mime from dataurl, and spread attachments from prompt

* lint

* revert and fix tests

---------

Co-authored-by: timothycarambat <rambat1010@gmail.com>
2025-07-22 09:57:32 -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
Timothy Carambat
1112ba75c9 run jest (#4177)
* run jest

* wip

* wip

* wip

* wip

* skip frontend

* rename

* force failure

* fix forced error
try layer caching for speed

* test cache

* revert forced failure

* remove branch test
2025-07-18 14:20:07 -07:00
Burak Topal
4999837d74 Update BARE_METAL.md (#4175)
Pull Request Type
[ ]  feat

[x] 🐛 fix

[ ] ♻️ refactor

[ ] 💄 style

[ ] 🔨 chore

[ ] 📝 docs

Relevant Issues
N/A (No issue exists for this typo fix)

What is in this change?
This PR corrects a minor typo in an output message within a script.

Before:
echo "Copying to Sever Public"

After:
echo "Copying to Server Public"

Additional Information
This is a minor correction to improve the clarity and professionalism of the script's output. No functional changes are introduced.

Developer Validations
[ ] I ran yarn lint from the root of the repo & committed changes

[ ] Relevant documentation has been updated

[ ] I have tested my code functionality

[ ] Docker build succeeds locally
2025-07-18 09:01:51 -07:00