If you can’t save the endpoint and API key when configuring Semgrep, Semgrep cannot establish a connection with Azure OpenAI.
- Ensure that the endpoint URL is correctly formatted. It should look something like
https://<YOUR_DEPLOYMENT_NAME>.openai.azure.com/openai/deployments/mymodel/chat/completions?api-version=2023-05-06-preview. - Verify that your API key is correct.