From caf3c4b92da7d8f0c4e8aaae3923c0119c8df6dc Mon Sep 17 00:00:00 2001 From: SergeyMenshykh <68852919+SergeyMenshykh@users.noreply.github.com> Date: Wed, 12 Nov 2025 09:22:11 +0000 Subject: [PATCH 1/2] .NET: Move deep research sample (#2094) * move catalog samples to the HostedAgents folder * move the catalog samples' projects to the HostedAgents folder * move deep research sample out of the HostedAgents folder --- dotnet/agent-framework-dotnet.slnx | 2 +- .../Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj} | 2 +- .../Agents/Agent_Step18_DeepResearch}/Program.cs | 0 .../Agents/Agent_Step18_DeepResearch}/README.md | 0 dotnet/samples/GettingStarted/Agents/README.md | 1 + 5 files changed, 3 insertions(+), 2 deletions(-) rename dotnet/samples/{HostedAgents/DeepResearchAgent/DeepResearchAgent.csproj => GettingStarted/Agents/Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj} (75%) rename dotnet/samples/{HostedAgents/DeepResearchAgent => GettingStarted/Agents/Agent_Step18_DeepResearch}/Program.cs (100%) rename dotnet/samples/{HostedAgents/DeepResearchAgent => GettingStarted/Agents/Agent_Step18_DeepResearch}/README.md (100%) diff --git a/dotnet/agent-framework-dotnet.slnx b/dotnet/agent-framework-dotnet.slnx index 71c79efc44..6009e00f00 100644 --- a/dotnet/agent-framework-dotnet.slnx +++ b/dotnet/agent-framework-dotnet.slnx @@ -63,6 +63,7 @@ + @@ -161,7 +162,6 @@ - diff --git a/dotnet/samples/HostedAgents/DeepResearchAgent/DeepResearchAgent.csproj b/dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj similarity index 75% rename from dotnet/samples/HostedAgents/DeepResearchAgent/DeepResearchAgent.csproj rename to dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj index 7ae71d83de..11c7beb3bf 100644 --- a/dotnet/samples/HostedAgents/DeepResearchAgent/DeepResearchAgent.csproj +++ b/dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Agent_Step18_DeepResearch.csproj @@ -14,7 +14,7 @@ - + diff --git a/dotnet/samples/HostedAgents/DeepResearchAgent/Program.cs b/dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Program.cs similarity index 100% rename from dotnet/samples/HostedAgents/DeepResearchAgent/Program.cs rename to dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/Program.cs diff --git a/dotnet/samples/HostedAgents/DeepResearchAgent/README.md b/dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/README.md similarity index 100% rename from dotnet/samples/HostedAgents/DeepResearchAgent/README.md rename to dotnet/samples/GettingStarted/Agents/Agent_Step18_DeepResearch/README.md diff --git a/dotnet/samples/GettingStarted/Agents/README.md b/dotnet/samples/GettingStarted/Agents/README.md index b93e9ceb72..f510b03faf 100644 --- a/dotnet/samples/GettingStarted/Agents/README.md +++ b/dotnet/samples/GettingStarted/Agents/README.md @@ -44,6 +44,7 @@ Before you begin, ensure you have the following prerequisites: |[Using plugins with an agent](./Agent_Step15_Plugins/)|This sample demonstrates how to use plugins with an agent| |[Reducing chat history size](./Agent_Step16_ChatReduction/)|This sample demonstrates how to reduce the chat history to constrain its size, where chat history is maintained locally| |[Background responses](./Agent_Step17_BackgroundResponses/)|This sample demonstrates how to use background responses for long-running operations with polling and resumption support| +|[Deep research with an agent](./Agent_Step18_DeepResearch/)|This sample demonstrates how to use the Deep Research Tool to perform comprehensive research on complex topics| ## Running the samples from the console From c8bb3d18354c9a6fb59c65f71d2b73b8f0b978c3 Mon Sep 17 00:00:00 2001 From: Stephen Toub Date: Wed, 12 Nov 2025 12:14:53 +0100 Subject: [PATCH 2/2] Update .NET packages to 10.0.0 (#2092) --- dotnet/Directory.Packages.props | 70 +++++++++---------- .../ChatCompletions/Models/Tool.cs | 2 +- 2 files changed, 36 insertions(+), 36 deletions(-) diff --git a/dotnet/Directory.Packages.props b/dotnet/Directory.Packages.props index bf3ff94eba..3a85c615b7 100644 --- a/dotnet/Directory.Packages.props +++ b/dotnet/Directory.Packages.props @@ -7,33 +7,33 @@ - 9.5.2 + 13.0.0 - + - + - + - - - + + + - - - - - - + + + + + + @@ -46,27 +46,27 @@ - - + + - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + @@ -101,7 +101,7 @@ - + @@ -115,7 +115,7 @@ - + all runtime; build; native; contentfiles; analyzers; buildtransitive diff --git a/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/Tool.cs b/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/Tool.cs index 87b0637b9b..412494eeaa 100644 --- a/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/Tool.cs +++ b/dotnet/src/Microsoft.Agents.AI.Hosting.OpenAI/ChatCompletions/Models/Tool.cs @@ -160,5 +160,5 @@ internal sealed record CustomToolFormat /// Additional format properties (schema definition). /// [JsonExtensionData] - public Dictionary? AdditionalProperties { get; init; } + public Dictionary? AdditionalProperties { get; set; } }