merlyn/server/utils
Timothy Carambat f395083978
Automatic mode for workspace (Agent mode default) (#5143)
* Add automatic chat mode with native tool calling support

    Introduces a new automatic chat mode (now the default) that automatically invokes tools when the provider supports native tool calling. Conditionally shows/hides the @agent command based on whether native tooling is available.

    - Add supportsNativeToolCalling() to AI providers (OpenAI, Anthropic, Azure always support; others opt-in via ENV)
    - Update all locale translations with new mode descriptions
    - Enhance translator to preserve Trans component tags
    - Remove deprecated ability tags UI

* rebase translations

* WIP on image attachments. Supports initial image attachment + subsequent attachments

* persist images

* Image attachments and updates for providers

* desktop pre-change

* always show command on failure

* add back gemini streaming detection

* move provider native tooling flag to Provider func

* whoops - forgot to delete

* strip "@agent" from prompts to prevent weird replies

* translations for automatic-mode (#5145)

* translations for automatic-mode

* rebase

* translations

* lint

* fix dead translations

* change default for now to chat mode just for rollout

* remove pfp for workspace

* passthrough workspace for showAgentCommand detection and rendering

* Agent API automatic mode support

* ephemeral attachments passthrough

* support reading of pinned documents in agent context
2026-03-18 12:35:43 -07:00
..
agentFlows Native Tool calling (#5071) 2026-02-26 13:37:56 -08:00
agents Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
AiProviders Remove use_mlock from Ollama to solve WARN logs in ollama 0.17 2026-03-10 09:08:05 -07:00
BackgroundWorkers Workspace Chat with documents overhaul (#4261) 2025-08-11 09:26:19 -07:00
boot Web push notifications (#4942) 2026-02-02 10:56:58 -08:00
chats Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
collectorApi add longer HTTP ttl on forward extension requests 2025-11-20 23:00:18 -08:00
comKey [BETA] Live document sync (#1719) 2024-06-21 13:38:50 -07:00
database Remove WelcomeMessages from app - no longer used (#5206) 2026-03-13 12:55:59 -07:00
DocumentManager Enable ability to do full-text query on documents (#758) 2024-02-21 13:15:45 -08:00
EmbeddingEngines Add custom fetch to embedder for Ollama (#5180) 2026-03-09 11:47:00 -07:00
EmbeddingRerankers/native chore: add ESLint to /server (#5126) 2026-03-05 16:32:45 -08:00
EncryptionManager [BETA] Live document sync (#1719) 2024-06-21 13:38:50 -07:00
files chore: add ESLint to /server (#5126) 2026-03-05 16:32:45 -08:00
helpers feat(agents): Add Perplexity Search API as web search provider (#5210) 2026-03-17 14:16:20 -07:00
http add user id to chat feedback 2026-03-13 16:51:02 -07:00
logger patch logger for full logs 2024-07-19 18:35:41 -07:00
MCP chore: add ESLint to /server (#5126) 2026-03-05 16:32:45 -08:00
middleware Enforce user suspension check on browser extension API key path 2026-03-13 10:05:05 -07:00
PasswordRecovery Merge commit from fork 2026-01-02 15:50:50 -08:00
prisma Fix Typos in Comments and Documentation (#3987) 2025-06-12 13:59:38 -07:00
PushNotifications Web push notifications (#4942) 2026-02-02 10:56:58 -08:00
telemetry Prune telemetry events 2025-04-29 13:54:00 -07:00
TextSplitter Native Embedder model selection (incl: Multilingual support) (#3835) 2025-07-22 10:07:20 -07:00
TextToSpeech chore: add ESLint to /server (#5126) 2026-03-05 16:32:45 -08:00
vectorDbProviders chore: add ESLint to /server (#5126) 2026-03-05 16:32:45 -08:00
vectorStore PGvector vector database support (#3788) 2025-05-09 12:27:11 -07:00