Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: 10-Second Delay Before Bot Begins Processing User Request #2170

Open
prateek-rio opened this issue Nov 7, 2024 · 1 comment
Open
Labels
bug Something isn't working dotnet Change/fix applies to dotnet. If all three, use the 'JS & dotnet & Python' label

Comments

@prateek-rio
Copy link

Language

C#

Version

latest

Description

10-Second Delay Before Bot Begins Processing User Request

We are currently experiencing a significant delay when using the bot service integrated with a VNet. After a user sends a message, there is a 10-second delay before the bot begins processing the request and displaying the "typing" indicator.

Expected Behavior
The bot should initiate the "typing" indicator immediately after the user sends a message, providing real-time feedback that the bot is processing the request. This immediate response would enhance user experience by assuring them the bot is responsive.

Actual Behavior
After the message is sent:

There is a 10-second delay before the "typing" indicator appears.
Following this delay, the bot begins processing the user’s message.

Reproduction Steps

...

@prateek-rio prateek-rio added the bug Something isn't working label Nov 7, 2024
@lilyydu lilyydu changed the title [Bug]: [Bug]: 10-Second Delay Before Bot Begins Processing User Request Nov 7, 2024
@lilyydu lilyydu added the dotnet Change/fix applies to dotnet. If all three, use the 'JS & dotnet & Python' label label Nov 7, 2024
@lilyydu
Copy link
Contributor

lilyydu commented Nov 7, 2024

Hi @prateek-rio,

  1. By bot service, I want to confirm you are talking about AI SDK in C#?
  2. Could you clarify what VNet is?
  3. Is the 10-second delay for every bot message?
  4. Is there any pre-processing logic before using the AI SDK?
  5. I assume the response generated by the bot is correct, there is just a strange 10-second delay per each message?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working dotnet Change/fix applies to dotnet. If all three, use the 'JS & dotnet & Python' label
Projects
None yet
Development

No branches or pull requests

2 participants