[PR #3508] [MERGED] Enable use of @agent in slash commands #4304

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

📋 Pull Request Information

Original PR: https://github.com/Mintplex-Labs/anything-llm/pull/3508
Author: @shatfield4
Created: 3/20/2025
Status: Merged
Merged: 3/24/2025
Merged by: @timothycarambat

Base: masterHead: 2656-feat-enable-use-of-agent-valid-in-slash-commands


📝 Commits (4)

  • 26341f9 allow @agent in slash commands
  • 9343e80 make prompt input focused on slash command click
  • b63692f lint
  • f5630b9 Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 2656-feat-enable-use-of-agent-valid-in-slash-commands

📊 Changes

4 files changed (+11 additions, -5 deletions)

View changed files

📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/index.jsx (+2 -1)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx (+6 -2)
📝 frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx (+1 -0)
📝 server/utils/chats/stream.js (+2 -2)

📄 Description

Pull Request Type

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

Relevant Issues

resolves #2656

What is in this change?

  • Allows use of @agent in slash command presets
  • Improve UX of slash commands by focusing prompt input on insert of slash command

Additional Information

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/3508 **Author:** [@shatfield4](https://github.com/shatfield4) **Created:** 3/20/2025 **Status:** ✅ Merged **Merged:** 3/24/2025 **Merged by:** [@timothycarambat](https://github.com/timothycarambat) **Base:** `master` ← **Head:** `2656-feat-enable-use-of-agent-valid-in-slash-commands` --- ### 📝 Commits (4) - [`26341f9`](https://github.com/Mintplex-Labs/anything-llm/commit/26341f998e9d242448e610d3fdf55b76b07aa925) allow @agent in slash commands - [`9343e80`](https://github.com/Mintplex-Labs/anything-llm/commit/9343e80904d8f7c562519112e428d803d99883c8) make prompt input focused on slash command click - [`b63692f`](https://github.com/Mintplex-Labs/anything-llm/commit/b63692f6646588bc07a4af0f92464ba39e4abe41) lint - [`f5630b9`](https://github.com/Mintplex-Labs/anything-llm/commit/f5630b96698826c196c4bf387f840c1fe399bd5a) Merge branch 'master' of github.com:Mintplex-Labs/anything-llm into 2656-feat-enable-use-of-agent-valid-in-slash-commands ### 📊 Changes **4 files changed** (+11 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/SlashPresets/index.jsx` (+2 -1) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/SlashCommands/index.jsx` (+6 -2) 📝 `frontend/src/components/WorkspaceChat/ChatContainer/PromptInput/index.jsx` (+1 -0) 📝 `server/utils/chats/stream.js` (+2 -2) </details> ### 📄 Description ### Pull Request Type <!-- For change type, change [ ] to [x]. --> - [x] ✨ feat - [ ] 🐛 fix - [ ] ♻️ refactor - [ ] 💄 style - [ ] 🔨 chore - [ ] 📝 docs ### Relevant Issues <!-- Use "resolves #xxx" to auto resolve on merge. Otherwise, please use "connect #xxx" --> resolves #2656 ### What is in this change? <!-- Describe the changes in this PR that are impactful to the repo. --> - Allows use of `@agent` in slash command presets - Improve UX of slash commands by focusing prompt input on insert of slash command ### Additional Information <!-- Add any other context about the Pull Request here that was not captured above. --> ### Developer Validations <!-- All of the applicable items should be checked. --> - [x] I ran `yarn lint` from the root of the repo & committed changes - [x] 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:35:33 -05:00
yindo closed this issue 2026-02-22 18:35:33 -05:00
yindo changed title from [PR #3508] Enable use of @agent in slash commands to [PR #3508] [MERGED] Enable use of @agent in slash commands 2026-06-05 15:17:53 -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#4304