.NET: Bring OpenAIResponsesChatClient temporarily (#449)

* copy OpenAIResponsesChatClient from meai temporarly

* Update dotnet/src/Microsoft.Extensions.AI.Agents.OpenAI/NewOpenAIResponsesChatClient.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

* add AsNewIChatClient extension method

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
SergeyMenshykh
2025-08-20 16:12:12 +01:00
committed by GitHub
Unverified
parent 0982aa9d6d
commit 011edfe420
5 changed files with 912 additions and 3 deletions
@@ -11,6 +11,7 @@
</ItemGroup>
<ItemGroup>
<ProjectReference Include="..\..\src\Microsoft.Extensions.AI.Agents.OpenAI\Microsoft.Extensions.AI.Agents.OpenAI.csproj" />
<ProjectReference Include="..\AgentConformance.IntegrationTests\AgentConformance.IntegrationTests.csproj" />
</ItemGroup>
@@ -70,7 +70,7 @@ public class OpenAIResponseFixture(bool store) : IChatClientAgentFixture
IList<AITool>? aiTools = null)
{
return Task.FromResult(new ChatClientAgent(
this._openAIResponseClient.AsIChatClient(),
this._openAIResponseClient.AsNewIChatClient(),
options: new()
{
Name = name,