chat-summary-webapp-react cannot save the settings for Azure OpenAI
Describe the bug I'm running the chat-summary-webapp-react demo app but cannot save the settings.
The first problem is that we need to rename .env.example as .env, which is not clear in the documents.
But still cannot save the settings.
To Reproduce Steps to reproduce the behavior:
- Go to 'http://localhost:7071'
- Choose Azure OpenAI
- Type the key, deployment name, and endpoint
- Click on 'Save'
- See errors "ModelNotAvailable", "Unauthorized". Sometimes can list the deployed models but cannot save the settings, e.g. "Model xxx not available on xxx endpoint"
Expected behavior A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):
- OS: Windows 11
- IDE: VS Code
- NuGet Package Version [e.g. 0.1.0]
Additional context Add any other context about the problem here.
@craigomatic @hathind-ms
We're looking at this one now.
@yanxiaodi - are you still having this issue? cc: @craigomatic
@evchaki I'll try it today and let you know. Thanks!
@evchaki it works now. I think it works only with text-davinci-003? I tried gpt-4 but got an error:
Is it expected? Thanks.
We just updated the samples to support chat completion models, ie: gpt35 turbo and gpt4 with PR #1279 so if you pull the latest code you should be able to get it to work with gpt4.
I will close this for now as it appears the original issue was resolved. Please reopen if needed!