[PR #4530] [CLOSED] agent mode in embed chats #4665

Closed
opened 2026-02-22 18:36:17 -05:00 by yindo · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/4530
Author: @yaronyam
Created: 10/12/2025
Status: Closed

Base: masterHead: feat/agent_mode_in_embed_chats


📝 Commits (2)

  • 328611e feat: Chat Embed - support @agent requests (#4154)
  • c5ac928 Merge branch 'master' into feat/agent_mode_in_embed_chats_4

📊 Changes

9 files changed (+519 additions, -2 deletions)

View changed files

📝 frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/EmbedRow/EditEmbedModal/index.jsx (+6 -0)
📝 frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/EmbedRow/index.jsx (+9 -1)
📝 frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/NewEmbedModal/index.jsx (+8 -1)
server/__tests__/utils/chats/embed.test.js (+422 -0)
📝 server/models/embedConfig.js (+3 -0)
server/prisma/migrations/20250929000000_init/migration.sql (+2 -0)
📝 server/prisma/schema.prisma (+1 -0)
📝 server/utils/chats/embed.js (+50 -0)
📝 server/utils/middleware/embedMiddleware.js (+18 -0)

📄 Description

Pull Request Type

  • feat
  • 🐛 fix
  • ♻️ refactor
  • 💄 style
  • 🔨 chore
  • 📝 docs

Relevant Issues

resolves #4154

What is in this change?

Add configurable toggle in Admin - Chat Embed settings - "Enable Agent Support" - defaults to Off. when turned On - support "@agent" prompt requests

Additional Information

Pasted image 20250929232848 Pasted image 20250929232914

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

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/Mintplex-Labs/anything-llm/pull/4530 **Author:** [@yaronyam](https://github.com/yaronyam) **Created:** 10/12/2025 **Status:** ❌ Closed **Base:** `master` ← **Head:** `feat/agent_mode_in_embed_chats` --- ### 📝 Commits (2) - [`328611e`](https://github.com/Mintplex-Labs/anything-llm/commit/328611eec25928d81e3e7eb51cf70b2dec878233) feat: Chat Embed - support @agent requests (#4154) - [`c5ac928`](https://github.com/Mintplex-Labs/anything-llm/commit/c5ac9281b4daf0dd5e3f8096adfc3e69992a997c) Merge branch 'master' into feat/agent_mode_in_embed_chats_4 ### 📊 Changes **9 files changed** (+519 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/EmbedRow/EditEmbedModal/index.jsx` (+6 -0) 📝 `frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/EmbedRow/index.jsx` (+9 -1) 📝 `frontend/src/pages/GeneralSettings/ChatEmbedWidgets/EmbedConfigs/NewEmbedModal/index.jsx` (+8 -1) ➕ `server/__tests__/utils/chats/embed.test.js` (+422 -0) 📝 `server/models/embedConfig.js` (+3 -0) ➕ `server/prisma/migrations/20250929000000_init/migration.sql` (+2 -0) 📝 `server/prisma/schema.prisma` (+1 -0) 📝 `server/utils/chats/embed.js` (+50 -0) 📝 `server/utils/middleware/embedMiddleware.js` (+18 -0) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues resolves #4154 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> Add configurable toggle in Admin - Chat Embed settings - "Enable Agent Support" - defaults to Off. when turned On - support "@agent" prompt requests ### Additional Information <img width="709" height="677" alt="Pasted image 20250929232848" src="https://github.com/user-attachments/assets/1618a3c3-5e51-4b7d-97b4-217fec40821c" /> <img width="1164" height="234" alt="Pasted image 20250929232914" src="https://github.com/user-attachments/assets/185eb36a-be04-4d9d-a83d-f4a053f3b4b7" /> ### Developer Validations - [x] I ran `yarn lint` from the root of the repo & committed changes - [ ] Relevant documentation has been updated - [x] I have tested my code functionality - [x] Docker build succeeds locally --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
yindo added the pull-request label 2026-02-22 18:36:17 -05:00
yindo changed title from [PR #4530] agent mode in embed chats to [PR #4530] [CLOSED] agent mode in embed chats 2026-06-05 15:19:41 -04:00
yindo closed this issue 2026-06-05 15:19:42 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#4665