From 3fd7700d88bc53f41cab0cc3412afcc8a77935ee Mon Sep 17 00:00:00 2001 From: Xiaoyun Zhang Date: Wed, 11 Oct 2023 17:23:41 -0700 Subject: [PATCH] Update azure sdk version to fix #154 (#166) ## Purpose * ... ## Does this introduce a breaking change? ``` [ ] Yes [ ] No ``` Fix #154 by introducing this update https://github.com/Azure/azure-sdk-for-net/blob/main/sdk/identity/Azure.Identity/CHANGELOG.md#1101-2023-09-12 ## Pull Request Type What kind of change does this Pull Request introduce? ``` [ ] Bugfix [ ] Feature [ ] Code style update (formatting, local variables) [ ] Refactoring (no functional changes, no api changes) [ ] Documentation content changes [ ] Other... Please describe: ``` ## How to Test * Get the code ``` git clone [repo-address] cd [repo-name] git checkout [branch-name] npm install ``` * Test the code ``` ``` ## What to Check Verify that the following are valid * ... ## Other Information --- .devcontainer/devcontainer.json | 2 +- app/Directory.Build.props | 2 +- scripts/prepdocs.sh | 2 ++ 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 7a2cd129..a0d9da6d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -3,7 +3,7 @@ "image": "mcr.microsoft.com/devcontainers/dotnet:0-7.0-bullseye", "features": { "ghcr.io/devcontainers/features/docker-in-docker:2": {}, - "ghcr.io/devcontainers/features/azure-cli:1.1.0": {}, + "ghcr.io/devcontainers/features/azure-cli:1.2.1": {}, "ghcr.io/devcontainers/features/github-cli:1.0.9": {}, "ghcr.io/azure/azure-dev/azd:latest": {} }, diff --git a/app/Directory.Build.props b/app/Directory.Build.props index 5009285c..f0f69e58 100644 --- a/app/Directory.Build.props +++ b/app/Directory.Build.props @@ -2,7 +2,7 @@ 4.1.0 - 1.10.0 + 1.10.1 11.5.0-beta.4 12.17.0 0.24.230918.1-preview diff --git a/scripts/prepdocs.sh b/scripts/prepdocs.sh index 32ff3b75..540ab1bf 100755 --- a/scripts/prepdocs.sh +++ b/scripts/prepdocs.sh @@ -23,6 +23,8 @@ if [ -z "$AZD_PREPDOCS_RAN" ] || [ "$AZD_PREPDOCS_RAN" = "false" ]; then --storageendpoint "$AZURE_STORAGE_BLOB_ENDPOINT" \ --container "$AZURE_STORAGE_CONTAINER" \ --searchendpoint "$AZURE_SEARCH_SERVICE_ENDPOINT" \ + --openaiendpoint "$AZURE_OPENAI_ENDPOINT" \ + --embeddingmodel "$AZURE_OPENAI_EMBEDDING_DEPLOYMENT" \ --searchindex "$AZURE_SEARCH_INDEX" \ --formrecognizerendpoint "$AZURE_FORMRECOGNIZER_SERVICE_ENDPOINT" \ --tenantid "$AZURE_TENANT_ID" \