Skip to content

[BUG]: Protected Slash command check #3521

Description

@timothycarambat

How are you running AnythingLLM?

All versions

What happened?

As a user, I can create slash commands that are system-wide or user-scoped depending on my installation of AnythingLLM.

I am able to create slash commands that are the same command as protected commands like /reset. When i do this and use my custom preset slash command - it runs the native protected one and not my specific slash command.

As a user, I should not be able to create a slash command with the same command as a protected system command - as it will be overwritten.

Are there known steps to reproduce?

Create a slash command named reset and then run your custom command
See the default system reset is invoked.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions