From f7d18b8ec71c0aae327c7fccc36aab67d9601bb9 Mon Sep 17 00:00:00 2001 From: Tao Chen Date: Fri, 10 Nov 2023 12:53:47 -0800 Subject: [PATCH] Revert updates to Microsoft.Azure.Functions.* packages for plugins (#590) ### Motivation and Context Azure functions tend to break silently when the `Microsoft.Azure.Functions.*` packages are not of the correct versions. With the current versions, the web-searcher plugin cannot find the functions using the function core tool, i.e. `func start`. ### Description Downgrade the `Microsoft.Azure.Functions.*` versions to previous ones that have been tested extensively. ### Contribution Checklist - [ ] The code builds clean without any errors or warnings - [ ] The PR follows the [Contribution Guidelines](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/chat-copilot/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [ ] I didn't break anyone :smile: --- plugins/web-searcher/WebSearcher.csproj | 7 ++++--- plugins/web-searcher/local.settings.json | 2 +- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/plugins/web-searcher/WebSearcher.csproj b/plugins/web-searcher/WebSearcher.csproj index ff18c45c3..9da18df23 100644 --- a/plugins/web-searcher/WebSearcher.csproj +++ b/plugins/web-searcher/WebSearcher.csproj @@ -8,10 +8,11 @@ - + + - - + + diff --git a/plugins/web-searcher/local.settings.json b/plugins/web-searcher/local.settings.json index 39aa5e185..0e06eb253 100644 --- a/plugins/web-searcher/local.settings.json +++ b/plugins/web-searcher/local.settings.json @@ -1,7 +1,7 @@ { "IsEncrypted": false, "Values": { - "AzureWebJobsStorage": "", + "AzureWebJobsStorage": "UseDevelopmentStorage=none", "FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated" }, "Host": {