Skip to content

Commit 861525d

Browse files
committed
Fix more formatting issues.
1 parent 247c702 commit 861525d

File tree

3 files changed

+7
-3
lines changed

3 files changed

+7
-3
lines changed

dotnet/src/Microsoft.Agents.AI.DurableTask/RunRequest.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,9 @@ public record RunRequest
3636
[JsonInclude]
3737
internal string CorrelationId { get; set; } = Guid.NewGuid().ToString("N");
3838

39+
/// <summary>
40+
/// Gets or sets the ID of the orchestration that initiated this request (if any).
41+
/// </summary>
3942
[JsonInclude]
4043
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
4144
internal string? OrchestrationId { get; set; }

dotnet/tests/Microsoft.Agents.AI.DurableTask.IntegrationTests/AgentEntityTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ await simpleAgentProxy.RunAsync(
8484
[Fact]
8585
public async Task OrchestrationIdSetDuringOrchestrationAsync()
8686
{
87-
// Setup
87+
// Arrange
8888
AIAgent simpleAgent = TestHelper.GetAzureOpenAIChatClient(s_configuration).CreateAIAgent(
8989
name: "TestAgent",
9090
instructions: "You are a helpful assistant that always responds with a friendly greeting."
@@ -95,16 +95,17 @@ public async Task OrchestrationIdSetDuringOrchestrationAsync()
9595
this._outputHelper,
9696
registry => registry.AddOrchestrator<TestOrchestrator>());
9797

98-
// A proxy agent is needed to call the hosted test agent
9998
DurableTaskClient client = testHelper.GetClient();
10099

100+
// Act
101101
string orchestrationId = await client.ScheduleNewOrchestrationInstanceAsync(nameof(TestOrchestrator), "What is the capital of Maine?");
102102

103103
OrchestrationMetadata? status = await client.WaitForInstanceCompletionAsync(
104104
orchestrationId,
105105
true,
106106
this.TestTimeoutToken);
107107

108+
// Assert
108109
EntityInstanceId expectedEntityId = AgentSessionId.Parse(status.ReadOutputAs<string>()!);
109110

110111
EntityMetadata? entity = await client.Entities.GetEntityAsync(expectedEntityId, true, this.TestTimeoutToken);

dotnet/tests/Microsoft.Agents.AI.DurableTask.UnitTests/State/DurableAgentStateRequestTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
namespace Microsoft.Agents.AI.DurableTask.Tests.Unit.State;
77

8-
public class DurableAgentStateRequestTests
8+
public sealed class DurableAgentStateRequestTests
99
{
1010
[Fact]
1111
public void RequestSerializationDeserialization()

0 commit comments

Comments
 (0)