anything-llm/server/endpoints/api
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
..
admin LLM performance metric tracking (#2825) 2024-12-16 14:31:17 -08:00
auth Full developer api (#221) 2023-08-23 19:15:07 -07:00
document linting & show descriptive error for bad `addtoWorkspace` request body 2026-03-09 11:30:53 -07:00
embed Add additional embed API endpoints (#3264) 2025-02-18 13:56:56 -08:00
openai chore: add ESLint to `/server` (#5126) 2026-03-05 16:32:45 -08:00
system fix: API export-chats endpoint function import error (#4220) 2025-07-30 12:19:27 -07:00
userManagement Simple SSO feature for login flows from external services (#2553) 2024-10-29 15:30:53 -07:00
workspace Automatic mode for workspace (Agent mode default) (#5143) 2026-03-18 12:35:43 -07:00
workspaceThread feat: add base64 document attachment support to API chat endpoints (#4672) 2025-11-24 15:48:44 -08:00
index.js Developer API access for embed chat widgets (#1999) 2024-08-07 11:36:32 -07:00