azure-search-openai-demo
azure-search-openai-demo copied to clipboard
Cannot Run App Locally Incomplete environment configuration. These variables are set: AZURE_TENANT_ID
does anyone resolved this issue?
@rahulsnc3it try the solution provided in here: https://github.com/Azure-Samples/azure-search-openai-demo/issues/26
I added
import mimetypes mimetypes.add_type('application/javascript', '.js') mimetypes.add_type('text/css', '.css')
to the app.py, and it solved the blank page issue - you still get a AZURE_TENANT_ID flag, but you can query the app.
@MaddieGibbons This didn't change anything for me but I've just noticed after running start.ps1, a popup notification in vscode asks me if I want to open it in a browser or preview it inside vscode. If I preview inside vscode it works fine whereas the web browser will endlessley load/be blank. I'm happy with the preview in vscode work around at least.
Have the same problem. Ran fine previously.
@bobberg
- Are you seeing any sort of error?
- What do you see in the logs?
- Are you running from a Terminal inside VS Code or elsewhere?
- Are you using start.ps1, start.sh, or Run&Debug?
I've added some additional .env details and now it is working locally again. I will check which was missing, but it was not the AZURE_TENANT_ID
This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.