-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Upload UI/UX context window check + frontend alert #4230
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ng states on update
linting small changes and comments
simplify calls and loading of records
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
timothycarambat
added a commit
that referenced
this pull request
Aug 11, 2025
* 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 <[email protected]> * 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 <[email protected]> * 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 <[email protected]>
lohawk-azalea
pushed a commit
to azalea-gograbcode/anything-llm
that referenced
this pull request
Aug 14, 2025
* Updated README.md and README.zh_CN.md (Mintplex-Labs#3775) * Update README.zh-CN.md * Update README.zh-CN.md * Update README.zh-CN.md * Update README.md * Merge commit from fork * linting * match openai versions across collector/backend * Updated README.md and README.zh-CN.md (Mintplex-Labs#3776) * Update README.zh-CN.md * Update README.md * Update README.md --------- Co-authored-by: Timothy Carambat <[email protected]> * Enable workflow rule for package verification (Mintplex-Labs#3778) enable workflow rule * Update README.zh-CN.md (Mintplex-Labs#3780) * Update README.zh-CN.md * Update README.zh-CN.md * Chat prompt history menu (Mintplex-Labs#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 <[email protected]> * fix null entry on new workspace * minor UI patches (Mintplex-Labs#3784) * Updated zh locale (Mintplex-Labs#3786) * Update common.js * linting --------- Co-authored-by: timothycarambat <[email protected]> * locale change (Mintplex-Labs#3787) * Update common.js * Update common.js * lint --------- Co-authored-by: timothycarambat <[email protected]> * Add Disable Spellcheck Option (Mintplex-Labs#3795) * Implemented spellcheck toggle in Settings * ran yarn lint * reduce read complexity for appearance spellcheck lint --------- Co-authored-by: timothycarambat <[email protected]> * Update:WorkspaceChat-ChatContainer-PromptInput (Mintplex-Labs#3792) update:WorkspaceChat ChatContainer PromptInput Co-authored-by: Timothy Carambat <[email protected]> * updated locale (Mintplex-Labs#3796) * Update README.zh-CN.md * Update common.js * PGvector vector database support (Mintplex-Labs#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 * add error fix for pgvector * Fix MCP Start/Stop Toast Text (Mintplex-Labs#3803) * corrected toggle server toast text * reordered code for readability * reordered code for readability * ran yarn lint * reordered code for readability * ran yarn lint * Fixed grammar and typos (Mintplex-Labs#3802) * Update common.js * Update README.md * Update common.js * Update README.md * linting --------- Co-authored-by: timothycarambat <[email protected]> * patch Azure image reading regressions resolves Mintplex-Labs#3811 * Obsidian data connector (Mintplex-Labs#3798) * add obsidian vault data connector * lint * add english translations * normalize translations * improve file parser and reader --------- Co-authored-by: timothycarambat <[email protected]> * Sponsors Showcase (Mintplex-Labs#3816) * Fix typos (Mintplex-Labs#3826) * Fix typos * language --------- Co-authored-by: timothycarambat <[email protected]> * Update light mode designs for system prompt history (Mintplex-Labs#3818) * update light mode designs for system prompt history * lint --------- Co-authored-by: Timothy Carambat <[email protected]> * Warn bad docker command (Mintplex-Labs#3827) * Add context window finder from litellm maintained list apply to all cloud providers, have client cache for 3 days * docker container bootup warning * update invalid ENV warning * rebased with current HEAD * update newline printing * Automatic Context window detection (Mintplex-Labs#3817) * Add context window finder from litellm maintained list apply to all cloud providers, have client cache for 3 days * linting * Improve UX for API keys and invitations (Mintplex-Labs#3828) * fix ux for create api key and create invite * lint --------- Co-authored-by: Timothy Carambat <[email protected]> * Support Dell Pro AI Studio provider (Mintplex-Labs#3829) * forgot files for DPAIS * patch api key bad ref.current on add post removal * hoisting cleanup for format var * Optional summarization for web-scraping flow block (Mintplex-Labs#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 <[email protected]> * 3416 file picker load times (Mintplex-Labs#3833) * wip * implment conditional streaming * no bench * patch Cached tag in UI not showing from Mintplex-Labs#3833 * Respect Max Chunk Len set - Generic OpenAI Embedder connection (Mintplex-Labs#3838) Respect Max Chunk Len set resolves Mintplex-Labs#3834 * Disable message send while content is embedding (Mintplex-Labs#3832) * Disable message send while content is embedding * opacity * normalize langs * remove console log --------- Co-authored-by: shatfield4 <[email protected]> * fix folders accumulating many files * refactor citation parser * Updated Chinese locale (Mintplex-Labs#3852) * Update README.zh-CN.md * Update common.js * Update common.js * remove comment in file util * zh lint * Filter malformed post-processed docs from file picker (Mintplex-Labs#3853) Filter malformed post-processed files from UI * Update Brazilian Portuguese locale (pt_BR) (Mintplex-Labs#3879) * Update Brazilian Portuguese locale (pt_BR) * linting --------- Co-authored-by: timothycarambat <[email protected]> * Removed redundant scrollbar in search containers (Mintplex-Labs#3865) * removed extra overflow scrollbar * improved scrollbar presentation * ran yarn lint --------- Co-authored-by: timothycarambat <[email protected]> * Fix File attachments are not cleared on second send click when use @A… (Mintplex-Labs#3843) Fix File attachments are not cleared on second send click when use @agent Co-authored-by: Timothy Carambat <[email protected]> * Update citations UI (Mintplex-Labs#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 <[email protected]> * normalize path on drupal to use documentsFolder constant normalize path on drupal to use documentsFolder constant * fixed drupal connector (Mintplex-Labs#3893) Mintplex-Labs#3875 (comment) * lint * Feat/missing localizations (Mintplex-Labs#3881) * Update Brazilian Portuguese locale (pt_BR) * Add missing localizations in chat window * normalize translations * lint --------- Co-authored-by: shatfield4 <[email protected]> Co-authored-by: Timothy Carambat <[email protected]> * Keyboard shortcut support (Mintplex-Labs#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 <[email protected]> * add normalize function on translations norm translations due to keyboard shortcut entries * Handle invalid response bodies for `ContextWindowFinder` (Mintplex-Labs#3896) Handle invalid response bodies for contextwindowfinder * Add Latvian language (Mintplex-Labs#3897) * Update styles of attachments uploaded in PromptInput (Mintplex-Labs#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 <[email protected]> * Remove border around image upload component (Mintplex-Labs#3900) remove border around image upload component * Update Sponsors README * fix issue with files loading with watching enabled (Mintplex-Labs#3930) * Update more Brazilian Portuguese locale (pt_BR) (Mintplex-Labs#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 <[email protected]> * Fix/mcp environment inheritance (Mintplex-Labs#3909) * Fix: MCP server environment inheritance across platforms - Fix GUI applications not inheriting proper PATH/NODE_PATH - Correct Docker NODE_PATH to point to modules directory - Ensure base environment is always provided - Preserve user environment variable overrides - Resolves -32000 Connection closed errors on macOS/Linux GUI * Fix: MCP server environment inheritance across platforms after linting --------- Co-authored-by: Timothy Carambat <[email protected]> * Add support for PUT and PATCH in agent flow builder API call block (Mintplex-Labs#3937) add support for PUT and PATCH in agent flow builder api call block Co-authored-by: Timothy Carambat <[email protected]> * Add missing localizations (Mintplex-Labs#3925) * Add missing localizations * remove unnecessary translations * remove unused entry * normalize translations --------- Co-authored-by: timothycarambat <[email protected]> * Patch apiChatHandler to include agent chats (Mintplex-Labs#3905) patch apiChatHandler to include agent chats * New embedded chat widget UI/UX (Mintplex-Labs#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 <[email protected]> * JSON Parser from agent flow blocks (Mintplex-Labs#3863) * implement json parser for agent flow to allow dot notation and array access * lint * patch parser for pathing on objects add tests for cases * Move webscraping deps to closure update tests to not modify env since no longer needed do not modify paths with spaces - could be text key with spaces --------- Co-authored-by: timothycarambat <[email protected]> * remove LLM Instruction `inputVariable` requirement (Mintplex-Labs#3954) * ManageWorkspace styles update (Mintplex-Labs#3948) * update colors for workspace directory recent added files & remove shadows * patch styles and loading states --------- Co-authored-by: timothycarambat <[email protected]> * Direct output for agent flows (Mintplex-Labs#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 <[email protected]> * Implement importing of agent flows from community hub (Mintplex-Labs#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 <[email protected]> * Fix some french translations (Mintplex-Labs#3959) * Fix text wrapping in directory tooltip (Mintplex-Labs#3967) * fix text wrapping in directory tooltip * fix tooltips --------- Co-authored-by: timothycarambat <[email protected]> * Fix model map staleness behavior or fallback (Mintplex-Labs#3971) * Fix model map staleness behavior or fallback * patch url * fix log * dev build * Enable UI/UX for model swapping in chat window (Mintplex-Labs#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 <[email protected]> * Fix Typo in Documentation and Metadata Field Name (Mintplex-Labs#3979) * Update index.js * Update index.js * temp rebuild release * unset changes to release build * Flag to disable login UI and endpoints for credentialed auth (Mintplex-Labs#3984) * Flag to disable login UI and endpoints for credentialed auth * dev build * fix translation key * patch semver tags * Fix Typos in Comments and Documentation (Mintplex-Labs#3987) * Update markdown-katex.js * Update PRISMA.md * fix embed links resolves Mintplex-Labs#3995 * Fix Typos in MetaGenerator.js Documentation Comments (Mintplex-Labs#3993) Update MetaGenerator.js Co-authored-by: Timothy Carambat <[email protected]> * remove unused hook effect * Fix Typo in Milvus Provider and Update Comment in Prisma Schema (Mintplex-Labs#4003) * Update schema.prisma * Update index.js * Fix typos in blog post example and save-file-browser plugin (Mintplex-Labs#4009) * Update blog-post-coding.js * Update save-file-browser.js * Update blog-post-coding.js --------- Co-authored-by: Timothy Carambat <[email protected]> * Publish system prompts to hub (Mintplex-Labs#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 <[email protected]> * resolve /ssr icon issue resolves Mintplex-Labs#4011 * Fix Typos in Comments and Documentation (Mintplex-Labs#4015) * Update communityHub.js * Update memory.js * Show app version in system settings sidebar (Mintplex-Labs#4044) * Add version tagging resolves Mintplex-Labs#4038 closes Mintplex-Labs#4034 closes Mintplex-Labs#4028 * add hook * add build * patch * Added missing German translations (Mintplex-Labs#4029) added missing German translations Co-authored-by: Timothy Carambat <[email protected]> * Fix prompt, model, and temperature overrides in embed chat widget (Mintplex-Labs#4036) fix data-prompt attribute in embed chat widget Co-authored-by: Timothy Carambat <[email protected]> * Publish agent flows to hub (Mintplex-Labs#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 <[email protected]> * Publish slash commands to hub (Mintplex-Labs#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 <[email protected]> * Added Estonian translation (Mintplex-Labs#4067) * Added Estonian translation * linting --------- Co-authored-by: timothycarambat <[email protected]> * patch skipCache logic among all vector db providers resolves Mintplex-Labs#3958 * Move show scrollbar option to chat settings (Mintplex-Labs#4078) move show scrollbar option to chat settings * Update common.js spellcheck for zh_TW (Mintplex-Labs#4074) Co-authored-by: Timothy Carambat <[email protected]> * Add option to disable streaming via env for generic openai provider (Mintplex-Labs#4079) * add option to disable streaming via env for generic openai provider * move env check to streamingEnabled * LMStudio 0 value embeddings patch (Mintplex-Labs#4084) patch lmstudio encoding_format to fix all embeddings as 0 value * Allow static defined prompt variables to be accessed by any authorized user (Mintplex-Labs#4086) * allow static defined prompt variables to be accessed by any authd user * improve filtering logic and comments --------- Co-authored-by: Timothy Carambat <[email protected]> * Add hint for chats in query mode (Mintplex-Labs#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 <[email protected]> * fix to support: feat2864 - using local credentials file with Amazon Bedrock (Mintplex-Labs#3986) * fix: feat2864 * patch default case --------- Co-authored-by: nonatofabio <[email protected]> Co-authored-by: timothycarambat <[email protected]> * Fix broken YT scraping with YT API (Mintplex-Labs#4005) * Fix broken YT scraping with YT API * refactor youtube transcript class/add jsdoc comments * fix test --------- Co-authored-by: shatfield4 <[email protected]> Co-authored-by: timothycarambat <[email protected]> * Patch tokenizer race condition bug (Mintplex-Labs#4091) patch tokenizer race condition bug Co-authored-by: Timothy Carambat <[email protected]> * Polish translations (Mintplex-Labs#4100) * Add translations into Polish * fix translation miss --------- Co-authored-by: Jakub Jadczak <[email protected]> * feat: Add Korean (ko) locale translations (Mintplex-Labs#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 <[email protected]> * update typo in language key files (Mintplex-Labs#4101) update type in language key files * Fix/drupal wiki (improve table & url handling) (Mintplex-Labs#4097) * feat: add support for custom table formatting in htmlToText conversion * fix tables * feat: improve plain text table formatting for AI readability * fix options * improve drupal wiki connector * final fix * adjust leading slash to match code * linting --------- Co-authored-by: timothycarambat <[email protected]> * add Contributing guidelines * update README * Fix score reporting for Milvus, Zilliz, and Pinecone vector databases (Mintplex-Labs#4106) * normalize milvus score reporting * normalize pinecone score reporting * normalize score reporting for zilliz * persistence of the GENERIC_OPENAI_STREAMING_DISABLED setting * force borders for desktop integration * update i18n key * update 1.8.3 tags for release (Mintplex-Labs#4109) * update 1.8.3 tags for release * whoops, botched news * Handle BigInt in message response (Mintplex-Labs#4110) * wip handle bigints in message response * extend bigint protoype to handle bigint stringification + add test * unset unrelated file * update tests, simplify implementation; --------- Co-authored-by: Timothy Carambat <[email protected]> * Configurable message limit for embed chat widget (Mintplex-Labs#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 <[email protected]> * resolves Mintplex-Labs#4040 * Add ability to search workspace and threads (Mintplex-Labs#4120) * Add ability to search workspace and threads * fix height * styling * update placeholder * Translations PR (Mintplex-Labs#4122) * docs(i18n): Complete missing Chinese translations (Mintplex-Labs#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 <[email protected]> * Fix chunking/snippet logs for clarity (Mintplex-Labs#4129) update chunking/snippet logs for clarity * Sticky code block header (Mintplex-Labs#4130) sticky code block header Co-authored-by: Timothy Carambat <[email protected]> * docs(zh-cn): Update and improve Simplified Chinese translations (Mintplex-Labs#4137) * Sanitize youtube transcription file paths (Mintplex-Labs#4148) sanitize youtube transcription file paths * Add option to enable encryption on MSSQL Server db (Mintplex-Labs#4134) * add option to enable encryption on mssql server dbs * add tests for ConnectionStringParser * Migrate text size menu to embedded tooltip (Mintplex-Labs#4147) * migrate font size menu to embedded tooltip modal * lint * fix text size menu ui --------- Co-authored-by: Timothy Carambat <[email protected]> * set max codeblock width to prevent overflows (Mintplex-Labs#4157) * SQL preflight connection validation (Mintplex-Labs#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 <[email protected]> * clear errors on submit for DB validations * 1.8.4 tag update * use documentsFolder path for simplification * Add `model` field parameter for generic OpenAI TTS (Mintplex-Labs#4171) resolves Mintplex-Labs#4165 * Clear cached docs on text splitter changes (Mintplex-Labs#4163) * clear cached docs on text splitter changes * update warning message and title * remove unsused translation keys * wrap trycatch --------- Co-authored-by: timothycarambat <[email protected]> * Update BARE_METAL.md (Mintplex-Labs#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 * run jest (Mintplex-Labs#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 * Moonshot AI LLM & agent provider (Mintplex-Labs#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 * Fix multimodal chats via openai compat api (Mintplex-Labs#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 <[email protected]> * Native Embedder model selection (incl: Multilingual support) (Mintplex-Labs#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 <[email protected]> * fix: correct some typos and grammatical errors in translation strings and index.jsx (Mintplex-Labs#4195) fix(locales): correct some typos and grammatical errors in translation strings and index.jsx * Modify the PostgreSQL SQL connector to support querying tables from schemas other than the default public schema. (Mintplex-Labs#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 <[email protected]> * Fix app version metrics endpoint (Mintplex-Labs#4209) fix app version metrics endpoint * minor change to XLSX parse and upload output folder * Update `writeToServerDocuments` to take config object (Mintplex-Labs#4213) * [Chore]: `sendCommand` non positional call signature (Mintplex-Labs#4218) Chore: `sendCommand` non positional call signature * patch microphone tooltip id mismatch * Update check for `validFuncCall` to only check required args and for undefined options (Mintplex-Labs#4214) * Update check for `validFuncCall` to only check required args and for undefined options * update * remove unused helper class func * fix: API export-chats endpoint function import error (Mintplex-Labs#4220) fix: resolve prepareWorkspaceChatsForExport function not found error in API export-chats endpoint * Fix agent iam_role implied agentic tool calling resolves Mintplex-Labs#4193 contrib: @bechir2000 * STT append spoken text (Mintplex-Labs#4216) * STT append spoken text * remove default args from calls * fix bug where message and input were out of sync * update diffs * Mobile sync support (Mintplex-Labs#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 * Add custom JWT TTL (Mintplex-Labs#4234) resolves Mintplex-Labs#4224 * Fix password hint text (Mintplex-Labs#4235) * Update common.js Hebrew language update (Mintplex-Labs#4241) * Update common.js Hebrew language update * linting --------- Co-authored-by: timothycarambat <[email protected]> * docs(i18n): Complete missing Spanish translations (Mintplex-Labs#4263) * Update all null values for Spanish language * linting --------- Co-authored-by: Jesús Verduzco <[email protected]> * feat: add Romanian translation (Mintplex-Labs#4247) * feat: add Romanian translation * Update resources.js Add Romanian * linting --------- Co-authored-by: timothycarambat <[email protected]> * Workspace Chat with documents overhaul (Mintplex-Labs#4261) * Create parse endpoint in collector (Mintplex-Labs#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 <[email protected]> * Add parsed files table and parse server endpoints (Mintplex-Labs#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 (Mintplex-Labs#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 <[email protected]> * 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 <[email protected]> * feat: Add Exa as a Search Provider (Mintplex-Labs#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 <[email protected]> * Update common.js (Mintplex-Labs#4278) * Update common.js Improving the Romanian translation and filling in missing elements. * linting --------- Co-authored-by: timothycarambat <[email protected]> * Chroma Cloud vector db provider (Mintplex-Labs#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 <[email protected]> * Update Security UI to match all other Settings (Mintplex-Labs#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 <[email protected]> * sync-upstream-2025-08 --------- Co-authored-by: Shixian Sheng <[email protected]> Co-authored-by: Timothy Carambat <[email protected]> Co-authored-by: Sean Hatfield <[email protected]> Co-authored-by: Colin Perry <[email protected]> Co-authored-by: Lao <[email protected]> Co-authored-by: omahs <[email protected]> Co-authored-by: JairoMarques <[email protected]> Co-authored-by: yuanbin <[email protected]> Co-authored-by: rexjohannes <[email protected]> Co-authored-by: Aashish Anand <[email protected]> Co-authored-by: timothycarambat <[email protected]> Co-authored-by: Paolo Calvi <[email protected]> Co-authored-by: Stoufiler <[email protected]> Co-authored-by: leopardracer <[email protected]> Co-authored-by: kilavvy <[email protected]> Co-authored-by: fuder.eth <[email protected]> Co-authored-by: FT <[email protected]> Co-authored-by: Maxim Evtush <[email protected]> Co-authored-by: Lev Lekush <[email protected]> Co-authored-by: Tarkva <[email protected]> Co-authored-by: Martin <[email protected]> Co-authored-by: Fabio Nonato <[email protected]> Co-authored-by: nonatofabio <[email protected]> Co-authored-by: bobbercheng <[email protected]> Co-authored-by: Jakub Jadczak <[email protected]> Co-authored-by: ux-builder <[email protected]> Co-authored-by: Chek <[email protected]> Co-authored-by: wannabe_ <[email protected]> Co-authored-by: Burak Topal <[email protected]> Co-authored-by: Anton Harder <[email protected]> Co-authored-by: Roman Wu <[email protected]> Co-authored-by: Neha Prasad <[email protected]> Co-authored-by: start-life <[email protected]> Co-authored-by: Jesús Verduzco <[email protected]> Co-authored-by: dp <[email protected]> Co-authored-by: Ashika Anand Babu <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Pull Request Type
Relevant Issues
resolves #xxx
What is in this change?
Additional Information
Developer Validations
yarn lint
from the root of the repo & committed changes