mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
793403f3db
* Add MCP long-running task support for MCP client tools * Fixed project file formatting issue. * Removed experimentation tag from MCP alpha project. * Addressed PR comments
20 lines
417 B
C#
20 lines
417 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using FluentAssertions;
|
|
|
|
namespace Microsoft.Agents.AI.Mcp.UnitTests;
|
|
|
|
public class McpTaskOptionsTests
|
|
{
|
|
[Fact]
|
|
public void Defaults_AreSane()
|
|
{
|
|
// Act
|
|
McpTaskOptions options = new();
|
|
|
|
// Assert
|
|
options.DefaultTimeToLive.Should().BeNull();
|
|
options.CancelRemoteTaskOnLocalCancellation.Should().BeTrue();
|
|
}
|
|
}
|