From f96f0d540b417692a1983c1ad1b34142a7dc9be0 Mon Sep 17 00:00:00 2001 From: kavin <115390646+singhk97@users.noreply.github.com> Date: Thu, 16 May 2024 13:18:36 -0700 Subject: [PATCH] [repo] bump: dotnet to v1.3.0 (#1659) ## Linked issues closes: #minor (issue number) ## Details - Minor version bump to v1.3.0 - Added citations ux support - Updated library dependency in samples - Fix minor failing test ## Attestation Checklist - [x] My code follows the style guidelines of this project - I have checked for/fixed spelling, linting, and other errors - I have commented my code for clarity - I have made corresponding changes to the documentation (updating the doc strings in the code is sufficient) - My changes generate no new warnings - I have added tests that validates my changes, and provides sufficient test coverage. I have tested with: - Local testing - E2E testing in Teams - New and existing unit tests pass locally with my changes ### Additional information > Feel free to add other relevant information below --- .../Microsoft.TeamsAI.Tests/AITests/DefaultActionsTests.cs | 4 ++-- .../Microsoft.TeamsAI/Microsoft.Teams.AI.csproj | 2 +- dotnet/samples/01.messaging.echoBot/EchoBot.csproj | 2 +- .../02.messageExtensions.a.searchCommand/SearchCommand.csproj | 2 +- .../03.adaptiveCards.a.typeAheadBot/TypeAheadBot.csproj | 2 +- dotnet/samples/04.ai.a.teamsChefBot/TeamsChefBot.csproj | 2 +- dotnet/samples/04.ai.b.messageExtensions.gptME/GPT.csproj | 2 +- dotnet/samples/04.ai.c.actionMapping.lightBot/LightBot.csproj | 2 +- dotnet/samples/04.ai.d.chainedActions.listBot/ListBot.csproj | 2 +- .../samples/04.ai.e.chainedActions.devOpsBot/DevOpsBot.csproj | 2 +- dotnet/samples/04.e.twentyQuestions/TwentyQuestions.csproj | 2 +- dotnet/samples/06.assistants.a.mathBot/MathBot.csproj | 2 +- dotnet/samples/06.assistants.b.orderBot/OrderBot.csproj | 2 +- dotnet/samples/06.auth.oauth.bot/BotAuth.csproj | 2 +- .../MessageExtensionAuth.csproj | 2 +- dotnet/samples/06.auth.teamsSSO.bot/BotAuth.csproj | 2 +- .../MessageExtensionAuth.csproj | 2 +- .../AzureAISearchBot/AzureAISearchBot.csproj | 2 +- .../samples/08.datasource.azureopenai/AzureOpenAIBot.csproj | 2 +- 19 files changed, 20 insertions(+), 20 deletions(-) diff --git a/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/DefaultActionsTests.cs b/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/DefaultActionsTests.cs index af2bad9c1..9746eb9da 100644 --- a/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/DefaultActionsTests.cs +++ b/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI.Tests/AITests/DefaultActionsTests.cs @@ -171,7 +171,7 @@ public async Task Test_Execute_SayCommandAction() IActionCollection actions = ImportDefaultActions(); var turnContextMock = new Mock(); turnContextMock.Setup(tc => tc.Activity).Returns(new Activity { Type = ActivityTypes.Message }); - turnContextMock.Setup(tc => tc.SendActivityAsync(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny())).Returns(Task.FromResult(new ResourceResponse())); + turnContextMock.Setup(tc => tc.SendActivityAsync(It.IsAny(), It.IsAny())).Returns(Task.FromResult(new ResourceResponse())); var turnState = new TurnState(); var command = new PredictedSayCommand("hello"); @@ -182,7 +182,7 @@ public async Task Test_Execute_SayCommandAction() // Assert Assert.Equal(string.Empty, result); - turnContextMock.Verify(tc => tc.SendActivityAsync(It.IsAny(), It.IsAny(), It.IsAny(), It.IsAny()), Times.Once); + turnContextMock.Verify(tc => tc.SendActivityAsync(It.IsAny(), It.IsAny()), Times.Once); Assert.NotNull(exception); Assert.Equal("Value cannot be null. (Parameter 'command')", exception.Message); } diff --git a/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/Microsoft.Teams.AI.csproj b/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/Microsoft.Teams.AI.csproj index ee137c626..e0f243601 100644 --- a/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/Microsoft.Teams.AI.csproj +++ b/dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/Microsoft.Teams.AI.csproj @@ -7,7 +7,7 @@ enable Microsoft.Teams.AI Microsoft Teams AI SDK - 1.2.0 + 1.3.0 Microsoft Microsoft © Microsoft Corporation. All rights reserved. diff --git a/dotnet/samples/01.messaging.echoBot/EchoBot.csproj b/dotnet/samples/01.messaging.echoBot/EchoBot.csproj index 195b56a65..cc4547fcb 100644 --- a/dotnet/samples/01.messaging.echoBot/EchoBot.csproj +++ b/dotnet/samples/01.messaging.echoBot/EchoBot.csproj @@ -17,7 +17,7 @@ - + diff --git a/dotnet/samples/02.messageExtensions.a.searchCommand/SearchCommand.csproj b/dotnet/samples/02.messageExtensions.a.searchCommand/SearchCommand.csproj index c592d1bc2..67fa4d43a 100644 --- a/dotnet/samples/02.messageExtensions.a.searchCommand/SearchCommand.csproj +++ b/dotnet/samples/02.messageExtensions.a.searchCommand/SearchCommand.csproj @@ -14,7 +14,7 @@ - + diff --git a/dotnet/samples/03.adaptiveCards.a.typeAheadBot/TypeAheadBot.csproj b/dotnet/samples/03.adaptiveCards.a.typeAheadBot/TypeAheadBot.csproj index f3142b6d0..58866497a 100644 --- a/dotnet/samples/03.adaptiveCards.a.typeAheadBot/TypeAheadBot.csproj +++ b/dotnet/samples/03.adaptiveCards.a.typeAheadBot/TypeAheadBot.csproj @@ -13,7 +13,7 @@ - + diff --git a/dotnet/samples/04.ai.a.teamsChefBot/TeamsChefBot.csproj b/dotnet/samples/04.ai.a.teamsChefBot/TeamsChefBot.csproj index ba53c11ca..cbc90f8be 100644 --- a/dotnet/samples/04.ai.a.teamsChefBot/TeamsChefBot.csproj +++ b/dotnet/samples/04.ai.a.teamsChefBot/TeamsChefBot.csproj @@ -16,7 +16,7 @@ - + diff --git a/dotnet/samples/04.ai.b.messageExtensions.gptME/GPT.csproj b/dotnet/samples/04.ai.b.messageExtensions.gptME/GPT.csproj index 648111c26..6aa752d89 100644 --- a/dotnet/samples/04.ai.b.messageExtensions.gptME/GPT.csproj +++ b/dotnet/samples/04.ai.b.messageExtensions.gptME/GPT.csproj @@ -15,7 +15,7 @@ - + diff --git a/dotnet/samples/04.ai.c.actionMapping.lightBot/LightBot.csproj b/dotnet/samples/04.ai.c.actionMapping.lightBot/LightBot.csproj index b99036992..b9ac7c8d6 100644 --- a/dotnet/samples/04.ai.c.actionMapping.lightBot/LightBot.csproj +++ b/dotnet/samples/04.ai.c.actionMapping.lightBot/LightBot.csproj @@ -18,7 +18,7 @@ - + diff --git a/dotnet/samples/04.ai.d.chainedActions.listBot/ListBot.csproj b/dotnet/samples/04.ai.d.chainedActions.listBot/ListBot.csproj index d1024eb5c..89a710147 100644 --- a/dotnet/samples/04.ai.d.chainedActions.listBot/ListBot.csproj +++ b/dotnet/samples/04.ai.d.chainedActions.listBot/ListBot.csproj @@ -12,7 +12,7 @@ - + diff --git a/dotnet/samples/04.ai.e.chainedActions.devOpsBot/DevOpsBot.csproj b/dotnet/samples/04.ai.e.chainedActions.devOpsBot/DevOpsBot.csproj index dee9f00a0..511164513 100644 --- a/dotnet/samples/04.ai.e.chainedActions.devOpsBot/DevOpsBot.csproj +++ b/dotnet/samples/04.ai.e.chainedActions.devOpsBot/DevOpsBot.csproj @@ -14,7 +14,7 @@ - + diff --git a/dotnet/samples/04.e.twentyQuestions/TwentyQuestions.csproj b/dotnet/samples/04.e.twentyQuestions/TwentyQuestions.csproj index 1ca6a9b1b..28d91643a 100644 --- a/dotnet/samples/04.e.twentyQuestions/TwentyQuestions.csproj +++ b/dotnet/samples/04.e.twentyQuestions/TwentyQuestions.csproj @@ -13,7 +13,7 @@ - + diff --git a/dotnet/samples/06.assistants.a.mathBot/MathBot.csproj b/dotnet/samples/06.assistants.a.mathBot/MathBot.csproj index c2902aa2c..33c8b698d 100644 --- a/dotnet/samples/06.assistants.a.mathBot/MathBot.csproj +++ b/dotnet/samples/06.assistants.a.mathBot/MathBot.csproj @@ -13,7 +13,7 @@ - + diff --git a/dotnet/samples/06.assistants.b.orderBot/OrderBot.csproj b/dotnet/samples/06.assistants.b.orderBot/OrderBot.csproj index a1d70d3b2..4add46c70 100644 --- a/dotnet/samples/06.assistants.b.orderBot/OrderBot.csproj +++ b/dotnet/samples/06.assistants.b.orderBot/OrderBot.csproj @@ -14,7 +14,7 @@ - + diff --git a/dotnet/samples/06.auth.oauth.bot/BotAuth.csproj b/dotnet/samples/06.auth.oauth.bot/BotAuth.csproj index d98535db9..7b8be6464 100644 --- a/dotnet/samples/06.auth.oauth.bot/BotAuth.csproj +++ b/dotnet/samples/06.auth.oauth.bot/BotAuth.csproj @@ -18,7 +18,7 @@ - + diff --git a/dotnet/samples/06.auth.oauth.messageExtension/MessageExtensionAuth.csproj b/dotnet/samples/06.auth.oauth.messageExtension/MessageExtensionAuth.csproj index 903fbc78e..c4f81775c 100644 --- a/dotnet/samples/06.auth.oauth.messageExtension/MessageExtensionAuth.csproj +++ b/dotnet/samples/06.auth.oauth.messageExtension/MessageExtensionAuth.csproj @@ -16,7 +16,7 @@ - + diff --git a/dotnet/samples/06.auth.teamsSSO.bot/BotAuth.csproj b/dotnet/samples/06.auth.teamsSSO.bot/BotAuth.csproj index 900685c75..716b838f1 100644 --- a/dotnet/samples/06.auth.teamsSSO.bot/BotAuth.csproj +++ b/dotnet/samples/06.auth.teamsSSO.bot/BotAuth.csproj @@ -18,7 +18,7 @@ - + diff --git a/dotnet/samples/06.auth.teamsSSO.messageExtension/MessageExtensionAuth.csproj b/dotnet/samples/06.auth.teamsSSO.messageExtension/MessageExtensionAuth.csproj index 6de531492..e5494af4f 100644 --- a/dotnet/samples/06.auth.teamsSSO.messageExtension/MessageExtensionAuth.csproj +++ b/dotnet/samples/06.auth.teamsSSO.messageExtension/MessageExtensionAuth.csproj @@ -16,7 +16,7 @@ - + diff --git a/dotnet/samples/08.datasource.azureaisearch/AzureAISearchBot/AzureAISearchBot.csproj b/dotnet/samples/08.datasource.azureaisearch/AzureAISearchBot/AzureAISearchBot.csproj index d7a8fbf03..296caacb6 100644 --- a/dotnet/samples/08.datasource.azureaisearch/AzureAISearchBot/AzureAISearchBot.csproj +++ b/dotnet/samples/08.datasource.azureaisearch/AzureAISearchBot/AzureAISearchBot.csproj @@ -15,7 +15,7 @@ - + diff --git a/dotnet/samples/08.datasource.azureopenai/AzureOpenAIBot.csproj b/dotnet/samples/08.datasource.azureopenai/AzureOpenAIBot.csproj index 813b8f870..380698ceb 100644 --- a/dotnet/samples/08.datasource.azureopenai/AzureOpenAIBot.csproj +++ b/dotnet/samples/08.datasource.azureopenai/AzureOpenAIBot.csproj @@ -14,7 +14,7 @@ - +