这是indexloc提供的服务,不要输入任何密码
Skip to content

[BUG]: Slash commands not working in developer API #3513

@shatfield4

Description

@shatfield4

How are you running AnythingLLM?

Docker (local)

What happened?

When calling chat endpoints in the developer API, slash commands are not working. The slash command is not being replaced by the preset.

Are there known steps to reproduce?

  1. Create slash command preset
  2. Call chat endpoint from developer API with slash command as part of message
  3. Slash command is not replaced with preset prompt

Metadata

Metadata

Assignees

No one assigned

    Labels

    possible bugBug was reported but is not confirmed or is unable to be replicated.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions