mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
3c322c91e7
* Update to latest Azure.AI.*, OpenAI, and M.E.AI* Absorb breaking changes in Responses surface area * Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs * Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs * Update dotnet/samples/AgentWebChat/AgentWebChat.AgentHost/Utilities/ChatClientExtensions.cs * Update dotnet/samples/GettingStarted/AgentWithOpenAI/Agent_OpenAI_Step04_CreateFromOpenAIResponseClient/Program.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> * Using patch to remove the model is necessary, updated the response client to actually use the the ForAgent --------- Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com>
24 lines
845 B
C#
24 lines
845 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Threading.Tasks;
|
|
using AgentConformance.IntegrationTests;
|
|
|
|
namespace ResponseResult.IntegrationTests;
|
|
|
|
public class OpenAIResponseStoreTrueRunStreamingTests() : RunStreamingTests<OpenAIResponseFixture>(() => new(store: true))
|
|
{
|
|
private const string SkipReason = "ResponseResult does not support empty messages";
|
|
[Fact(Skip = SkipReason)]
|
|
public override Task RunWithNoMessageDoesNotFailAsync() =>
|
|
Task.CompletedTask;
|
|
}
|
|
|
|
public class OpenAIResponseStoreFalseRunStreamingTests() : RunStreamingTests<OpenAIResponseFixture>(() => new(store: false))
|
|
{
|
|
private const string SkipReason = "ResponseResult does not support empty messages";
|
|
|
|
[Fact(Skip = SkipReason)]
|
|
public override Task RunWithNoMessageDoesNotFailAsync() =>
|
|
Task.CompletedTask;
|
|
}
|