1942 Commits

Author SHA1 Message Date
Timothy Carambat
2029f90b42 fix priority for workspace sidebar items that are unclear. Resolves #5502 2026-04-24 15:52:37 -07:00
Timothy Carambat
7ead0449f2 Fix deepseek v4 reasoning inject thoughts (#5527)
* Fix deepseek v4 injectReasoning error
resolves #5509

* comment
2026-04-24 15:40:05 -07:00
Timothy Carambat
bde72505ff Remove default models to show empty until real models are retreieved (#5524)
resolves #5505
Fix placeholder
resolves #5503
resolves #5522
2026-04-24 15:13:57 -07:00
Marcello Fitton
bee383f19d fix: invalid docs links in FileSystemSkillPanel (#5518)
* fix invalid documentation link

* fix link and trans i18n

* fix tag

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-24 13:50:45 -07:00
Timothy Carambat
bd0faba9be Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2026-04-24 13:34:52 -07:00
Timothy Carambat
f19beb90ee update readme
resolves #5519
2026-04-24 13:34:46 -07:00
Chris Z
eeb29948e3 fix(embedder): surface Mistral embedding failures (#5513)
* fix(embedder): surface Mistral embedding failures

* fix pr

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-24 12:55:51 -07:00
jimmyzhuu
680d38a3ce [FEAT] Add native Baidu Search provider for Agent web browsing (#5388)
* feat: add native baidu search provider for agent web browsing

* chore: address baidu search review feedback

* refactor baiduSearch internal util to be locally scoped

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-22 17:53:20 -07:00
Sean Hatfield
55567239b0 Show agent skills, flows, and MCP tools in chat tools menu (#5444)
* show agent skills, flows, and MCP tools in collapsible sections in chat tools menu

* fix tools menu toggle disabled bypass, add border-none to buttons, and useMemo improvements

* replace mcp server cache with loading state for mcp servers

* enable sub-skill management

* refactor

* Translations for chat tools menu improvements (#5448)

* normalize translations

* update translations

* norm translations

---------

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

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-22 17:41:09 -07:00
Timothy Carambat
4f3f77119d resolve GHSA-jwqg-jfg3-x5vv 2026-04-22 16:45:34 -07:00
Timothy Carambat
f144692903 1.12.1 release tags (#5483) v1.12.1 2026-04-22 15:15:59 -07:00
Timothy Carambat
010795d00b update tool call response to always include convo ID for emails so they are not hallunicated 2026-04-21 16:19:05 -07:00
Akhil
cb4a06ce5c fix: surface readable error messages in web-scraping agent and ai-provider (#5476)
* fix: surface readable error messages in web-scraping agent and ai-provider

* simplify

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-21 15:00:12 -07:00
Marcello Fitton
f4cb1ead4e fix: long-prompt bubble flicker & See More collapse on streaming/scroll (#5473)
fix ui flickering and truncatable prompt expansion bug

Co-authored-by: shatfield4 <seanhatfield5@gmail.com>
Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-21 14:48:44 -07:00
Marcello Fitton
38206a14b3 fix: omit temperature param for Bedrock Claude Opus 4.7 (#5472)
* addconditionally pass temperature based on aws bedrock model id

* move to config

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-21 14:39:42 -07:00
Timothy Carambat
faf2dd998e Add capability detection and streaming usage for Generic OpenAI provider (#5477)
- Add ENV-configurable model capabilities (tools, reasoning, vision,
  imageGeneration) via PROVIDER_SUPPORTS_* environment variables
- Add optional stream usage reporting via GENERIC_OPEN_AI_REPORT_USAGE
- Fix streaming tool calls for providers that send null tool_call.id
  (e.g., mlx-server) by generating fallback UUIDs
- Refactor supportsNativeToolCalling() to use centralized capabilities API
2026-04-21 09:31:58 -07:00
Timothy Carambat
649c94298c better special citation styling 2026-04-15 15:20:54 -07:00
Timothy Carambat
f5fa03f472 Merge commit from fork 2026-04-15 10:37:56 -07:00
Timothy Carambat
29b924e5f7 bump TG edit to prevent edit spam for messages since edits count as a send event and too many will result in a 429
resolves #5447
2026-04-15 10:18:32 -07:00
Timothy Carambat
676f305927 Better citations for gmail, gcal, and outlook 2026-04-15 10:05:26 -07:00
Timothy Carambat
fdc585b832 comment on outlook agent 2026-04-15 09:20:26 -07:00
Timothy Carambat
9334bfef3b dedupe email items based on name 2026-04-15 09:19:36 -07:00
Timothy Carambat
951ffc3d7b fix regenerate from system message connect #5407 2026-04-15 06:41:43 -07:00
Sean Hatfield
6ca2d5235d Image lightbox for chat attachments (#5441)
* add image lightbox for chat attachments

* wrap lightbox image triggers in button elements

* add images to dependency array

* add jsdoc to ChatAttachments and remove filter
2026-04-14 19:47:48 -07:00
Timothy Carambat
1cea4df8e6 Google calendar skill (#5442)
* Google Calendar Agent

* forgot files

* Translations (#5443)
2026-04-14 16:39:36 -07:00
Timothy Carambat
177049bd4a make DDG default web-search in UI (already is in backend!) 2026-04-14 14:53:55 -07:00
Timothy Carambat
5aae72a5e5 Refactor Gmail Agent (#5439) 2026-04-14 14:46:54 -07:00
Timothy Carambat
f17337fb97 reorder skills for app integrations 2026-04-14 14:25:36 -07:00
Timothy Carambat
1c0d0301b0 Outlook agent via Entra Application (#5427)
* Outlook agent via Entra Application

* translations (#5437)
2026-04-14 14:05:19 -07:00
Timothy Carambat
b7b380ac51 Revert "5427 translations (#5429)"
This reverts commit 4172751858.
2026-04-14 13:40:03 -07:00
Timothy Carambat
4172751858 5427 translations (#5429)
* Outlook agent via Entra Application

* translations
2026-04-14 13:38:03 -07:00
Timothy Carambat
3d9c210a32 Enable chatId reporting during agent sessions (#5407) 2026-04-13 13:24:09 -07:00
Asish Kumar
91e75c27c2 fix: preserve Confluence context paths (#5415)
* fix: preserve confluence context paths

* lint and minor changes

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-13 13:10:40 -07:00
Jordi Mas
6ef114df19 feat: add Catalan translation (#5411)
* Add Catalan translation

* lint

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-11 19:36:53 -07:00
Kurt
c442ba85d8 Helm chart updates (#5410)
* move strategy to deployment spec

Signed-off-by: Busta Pipes <busta.pipes@gmail.com>

* add optional httproute resource

Signed-off-by: Busta Pipes <busta.pipes@gmail.com>

---------

Signed-off-by: Busta Pipes <busta.pipes@gmail.com>
Co-authored-by: Busta Pipes <busta.pipes@gmail.com>
2026-04-11 19:35:00 -07:00
Timothy Carambat
cec67d77f2 GMail Agent Skill (#5400)
* wip

* remove label tech

* ask to read attachments

* update skills

* Skill ready and tested

* report dynamic citations and generic get mailbox util

* norm translations

* translations

* remove dead code, remove connector in multiUser

* simple refactor - dont ask for drafts

* refactor filesize helper

* norm translations, remove read_messages skill
2026-04-10 14:14:12 -07:00
Timothy Carambat
246edc38ce Add automatic agent skill aproval via ENV Flag (#5405)
* add autoapproval env flag

* persist flag
2026-04-10 13:20:47 -07:00
Guilherme Nogueira
159376e2a1 feat: adds name field to api keys (#5366)
* feat: adds name field to api keys

* remove extra toasts

* prune and norm translations

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-10 10:40:14 -07:00
Timothy Carambat
0325598197 Update TG Transient error code and unclosed tag handler 2026-04-10 08:49:12 -07:00
Timothy Carambat
67d871bbe4 Migrate to org-maintained mdpdf for lang support (Hangul, Simplified Chinese, Kanji) (#5392)
move to custom mdpdf for lang support (Hangul, Simplified Chinese)
2026-04-08 22:00:08 -07:00
Timothy Carambat
91c8319d8f Add retry handling to TG for transient failures (#5391)
* Add retry handling to TG for transient failures

* add async to promise
2026-04-08 15:10:02 -07:00
Timothy Carambat
82ef164314 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm 2026-04-08 14:17:49 -07:00
Timothy Carambat
4af0257263 Fix Telegram thread being null, actually wait for disconnect to prevent conflict at runtime 2026-04-08 14:17:43 -07:00
Timothy Carambat
b2404801d1 Fix streaming issue for LLM instruction blocks (#5382) 2026-04-07 12:03:07 -07:00
Timothy Carambat
b7dfa4c278 Enable final tool call in MAX_STACK to run (#5381) 2026-04-07 11:53:22 -07:00
Timothy Carambat
e344109bcb Update Lemonade Integration to support v10.1.0 changes (#5378)
Update Lemonade Integraion
Fix ApiKey nullification check causing hard throw
2026-04-07 11:21:28 -07:00
Marcello Fitton
42a41201a8 feat: Document Embedding Status Events | Refactor Document Embedding to Job Queue and Forked Process (#5254)
* implement native embedder job queue

* persist embedding progress across renders

* add development worker timeouts

* change to static method

* native reranker

* remove useless return

* lint

* simplify

* make embedding worker timeout value configurable by admin

* add event emission for missing data

* lint

* remove onProgress callback argument

* make rerank to rerankDirect

* persists progress state across app reloads

* remove chunk level progress reporting

* remove unuse dvariable

* make NATIVE_RERANKING_WORKER_TIMEOUT user configurable

* remove dead code

* scope embedding progress per-user and clear stale state on SSE reconnect

* lint

* revert vector databases and embedding engines to call their original methods

* simplify rerank

* simplify progress fetching by removing updateProgressFromApi

* remove duplicate jsdoc

* replace sessionStorage persistence with server-side history replay for embedding progress

* fix old comment

* fix: ignore premature SSE all_complete when embedding hasn't started yet

The SSE connection opens before the embedding API call fires, so the
server sees no buffered history and immediately sends all_complete.
Firefox dispatches this eagerly enough that it closes the EventSource
before real progress events arrive, causing the progress UI to clear
and fall back to the loading spinner. Chrome's EventSource timing
masks the race.

Track slugs where startEmbedding was called but no real progress event
has arrived yet via awaitingProgressRef. Ignore the first all_complete
for those slugs and keep the connection open for the real events.

* reduce duplication with progress emissions

* remove dead code

* refactor: streamline embedding progress handling

Removed unnecessary tracking of slugs for premature all_complete events in the EmbeddingProgressProvider. Updated the server-side logic to avoid sending all_complete when no embedding is in progress, allowing the connection to remain open for real events. Adjusted the embedding initiation flow to ensure the server processes the job before the SSE connection opens, improving the reliability of progress updates.

* fix stale comment

* remove unused function

* fix event emissions for document creation failure

* refactor: move Reranking Worker Idle Timeout input to LanceDBOptions component

Extracted the Reranking Worker Idle Timeout input from GeneralEmbeddingPreference and integrated it into the LanceDBOptions component. This change enhances modularity and maintains a cleaner structure for the settings interface.

* lint

* remove unused hadHistory vars

* refactor workspace directory by hoisting component and converting into functions

* moved EmbeddingProgressProvider to wrap Document Manager Modal

* refactor embed progress SSE connection to use fetchEventSource instead of native EventSource API.

* refactor message handlng into a function and reduce duplication

* refactor: utilize writeResponseChunk for event emissions in document embedding progress SSE

* refactor: explicit in-proc embedding and rerank methods that are called by workers instead of process.send checks

* Abstract EmbeddingProgressBus and Worker Queue into modules

* remove error and toast messages on embed process result

* use safeJsonParse

* add chunk-level progress events with per-document progress bar in UI

* remove unused parameter

* rename all worker timeout references to use ttl | remove ttl updating from UI

* refactor: pass embedding context through job payload instead of global state

* lint

* add graceful shutdown for workers

* apply figma styles

* refactor embedding worker to use bree

* use existing WorkerQueue class as the management layer for jobs

* lint

* revert all reranking worker changes back to master state

Removes the reranking worker queue, rerankViaWorker/rerankInProcess
renames, and NATIVE_RERANKING_WORKER_TTL config so this branch
only contains the embedding worker job queue feature.

* remove breeManaged flag — WorkerQueue always spawns via Bree

* fix prompt embedding bug

* have embedTextInput call embedChunksInProcess

* add message field to `process.send()`

* remove nullish check and error throw

* remove bespoke graceful shutdown logix

* add spawnWorker method and asbtract redudant flows into helper methods

* remove unneeded comment

* remove recomputation of TTL value

* frontend cleanup and refactor

* wip on backend refactor

* backend overhaul

* small lint

* second pass

* add logging, update endpoint

* simple refactor

* add reporting to all embedder providers

* fix styles

---------

Co-authored-by: Timothy Carambat <rambat1010@gmail.com>
2026-04-06 17:00:15 -07:00
Timothy Carambat
0645f3c4bf Reapply "Remove illegal chars for Windows on files (#5364)"
This reverts commit 869be87ef6.
2026-04-06 14:05:25 -07:00
Timothy Carambat
869be87ef6 Revert "Remove illegal chars for Windows on files (#5364)"
This reverts commit 8ed1d35ab3.
2026-04-06 14:03:53 -07:00
Timothy Carambat
5a91608d9e add provider/embedder to bug report for clarity
resolves #5363
2026-04-06 13:23:42 -07:00