semantic-kernel
semantic-kernel copied to clipboard
Unable to generate bot response. Details: TypeError: Failed to fetch Please check that your backend is running and that it is accessible by the app
Describe the bug It seems I have started the program seccessfully. But when I try to talk to the bot, it could not answer.
To Reproduce Steps to reproduce the behavior:
- Go to : http://localhost:3000/
- talk to copilot bot
- no response
- See error 1(on the web): Unable to generate bot response. Details: TypeError: Failed to fetch Please check that your backend is running and that it is accessible by the app
- See error 2(windows terminal,dotnet run): fail: Microsoft.AspNetCore.Server.Kestrel[13] Connection id "0HMQIM1UJD5D4", Request id "0HMQIM1UJD5D4:00000019": An unhandled exception was thrown by the application.
Expected behavior can talk to copilot bot
Screenshots
please see attached 2 pictures.
Desktop (please complete the following information):
- OS: Windows11
- IDE: VS Code
- NuGet Package Version ?
Additional context Add any other context about the problem here.
It's likely that you are testing again OpenAI instead of AzureOpenAI, then make sure you replaced all AzureOpenAI settings in the config file.
If you missed one of them, then this error above is expected.
It's likely that you are testing again
OpenAIinstead ofAzureOpenAI, then make sure you replaced allAzureOpenAIsettings in the config file.If you missed one of them, then this error above is expected.
Thank you! Do you mean the 3 places I have replaced? Are there any other places I need to replace?
thank you. fixed the bug.
Closing since this is resolved.