diff --git a/integration-tests/ChatCopilotIntegrationTests.csproj b/integration-tests/ChatCopilotIntegrationTests.csproj index ed70bbad2..fd10a8a2b 100644 --- a/integration-tests/ChatCopilotIntegrationTests.csproj +++ b/integration-tests/ChatCopilotIntegrationTests.csproj @@ -15,8 +15,8 @@ - - + + runtime; build; native; contentfiles; analyzers; buildtransitive all diff --git a/memorypipeline/CopilotChatMemoryPipeline.csproj b/memorypipeline/CopilotChatMemoryPipeline.csproj index 55296130d..ebdcecd1e 100644 --- a/memorypipeline/CopilotChatMemoryPipeline.csproj +++ b/memorypipeline/CopilotChatMemoryPipeline.csproj @@ -15,8 +15,8 @@ - - + + diff --git a/shared/CopilotChatShared.csproj b/shared/CopilotChatShared.csproj index 25216ca99..aadf642c7 100644 --- a/shared/CopilotChatShared.csproj +++ b/shared/CopilotChatShared.csproj @@ -9,10 +9,10 @@ - - - - + + + + diff --git a/tools/importdocument/ImportDocument.csproj b/tools/importdocument/ImportDocument.csproj index b8ee82a33..a986615e4 100644 --- a/tools/importdocument/ImportDocument.csproj +++ b/tools/importdocument/ImportDocument.csproj @@ -16,7 +16,7 @@ - + diff --git a/webapi/CopilotChatWebApi.csproj b/webapi/CopilotChatWebApi.csproj index 17cf33206..c8b13b4e7 100644 --- a/webapi/CopilotChatWebApi.csproj +++ b/webapi/CopilotChatWebApi.csproj @@ -22,9 +22,9 @@ - - - + + + diff --git a/webapi/Extensions/ISemanticMemoryClientExtensions.cs b/webapi/Extensions/ISemanticMemoryClientExtensions.cs index f72beb686..02b17d872 100644 --- a/webapi/Extensions/ISemanticMemoryClientExtensions.cs +++ b/webapi/Extensions/ISemanticMemoryClientExtensions.cs @@ -101,7 +101,7 @@ await memoryClient.SearchAsync( null, relevanceThreshold, // minRelevance param resultCount, - cancellationToken); + cancellationToken: cancellationToken); return searchResult; } @@ -128,7 +128,7 @@ public static async Task StoreDocumentAsync( uploadRequest.Tags.Add(MemoryTags.TagChatId, chatId); uploadRequest.Tags.Add(MemoryTags.TagMemory, memoryName); - await memoryClient.ImportDocumentAsync(uploadRequest, cancellationToken); + await memoryClient.ImportDocumentAsync(uploadRequest, cancellationToken: cancellationToken); } public static Task StoreMemoryAsync( @@ -173,7 +173,7 @@ public static async Task StoreMemoryAsync( uploadRequest.Tags.Add(MemoryTags.TagChatId, chatId); uploadRequest.Tags.Add(MemoryTags.TagMemory, memoryName); - await memoryClient.ImportDocumentAsync(uploadRequest, cancellationToken); + await memoryClient.ImportDocumentAsync(uploadRequest, cancellationToken: cancellationToken); } public static async Task RemoveChatMemoriesAsync(