mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
30 lines
916 B
C#
30 lines
916 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using System.Diagnostics;
|
|
|
|
namespace Microsoft.Agents.AI;
|
|
|
|
/// <summary>
|
|
/// Provides metadata information about an <see cref="AgentThread"/> instance.
|
|
/// </summary>
|
|
[DebuggerDisplay("ConversationId = {ConversationId}")]
|
|
public class AgentThreadMetadata
|
|
{
|
|
/// <summary>
|
|
/// Initializes a new instance of the <see cref="AgentThreadMetadata"/> class.
|
|
/// </summary>
|
|
/// <param name="conversationId">The unique identifier for the conversation, if available.</param>
|
|
public AgentThreadMetadata(string? conversationId)
|
|
{
|
|
this.ConversationId = conversationId;
|
|
}
|
|
|
|
/// <summary>
|
|
/// Gets the unique identifier for the conversation, if available.
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// The meaning of this ID may vary depending on the agent implementation.
|
|
/// </remarks>
|
|
public string? ConversationId { get; }
|
|
}
|