17 lines
479 B
C#
Raw Normal View History

2025-01-27 10:25:00 -05:00
// Copyright (c) Microsoft Corporation. All rights reserved.
// PythonInterfaces.cs
namespace Microsoft.AutoGen.Contracts.Python;
public class MessageContext(string messageId, CancellationToken cancellationToken)
{
public string MessageId { get; set; } = messageId;
public CancellationToken CancellationToken { get; set; } = cancellationToken;
public AgentId? Sender { get; set; }
public TopicId? Topic { get; set; }
public bool IsRpc { get; set; }
}