microsoft / BotFramework-Composer

Dialog creation and management for Microsoft Bot Framework Applications
https://docs.microsoft.com/en-us/composer/
MIT License
860 stars 366 forks source link

Recognizer is invoked Twice for the same user message #9750

Open SanKumar0632 opened 1 month ago

SanKumar0632 commented 1 month ago

Describe the bug

When user replies to the bot's question(prompt made using "Ask a question" option an prompt config "Allow interruptions" set to true), the recognizer set for the bot is running twice.

Version

2.1.3-nightly.364675.1a93f21

To Reproduce

Steps to reproduce the behavior:

  1. Create a prompt using the "Ask a question" action
  2. Set the prompt configuration "Allow interruptions" to true
  3. Start the bot and reply to the prompt created
  4. You will see that the recognizer runs twice

Expected behavior

Video

https://github.com/microsoft/BotFramework-Composer/assets/122610382/3d456671-58c8-4d0b-989b-ff19b7a0f541

Additional context

It may affect the response time of bot as I am using a REST api based custom recognizer for the bot.