mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
Fixed (#921)
This commit is contained in:
+2
-1
@@ -3,6 +3,7 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Threading.Tasks;
|
||||
using Azure;
|
||||
using Azure.AI.Agents.Persistent;
|
||||
using Azure.Identity;
|
||||
using Microsoft.Agents.AI;
|
||||
@@ -69,7 +70,7 @@ public sealed class AzureAgentProviderTest(ITestOutputHelper output) : WorkflowT
|
||||
Assert.Equal(agent2Id, agent2.Id);
|
||||
|
||||
// Act & Assert
|
||||
await Assert.ThrowsAsync<DeclarativeActionException>(() => provider.GetAgentAsync(agentName));
|
||||
await Assert.ThrowsAsync<RequestFailedException>(() => provider.GetAgentAsync(agentName));
|
||||
}
|
||||
|
||||
private async ValueTask<string> CreateAgentAsync(string? name = null)
|
||||
|
||||
Reference in New Issue
Block a user