// Copyright (c) Microsoft. All rights reserved. using Microsoft.Shared.Diagnostics; namespace Microsoft.Agents.AI; /// /// An agent feature that allows providing a conversation identifier. /// /// /// This feature allows a user to provide a specific identifier for chat history when stored in the underlying AI service. /// public class ConversationIdAgentFeature { /// /// Initializes a new instance of the class with the specified thread /// identifier. /// /// The unique identifier of the thread required by the underlying AI service. Cannot be or empty. public ConversationIdAgentFeature(string conversationId) { this.ConversationId = Throw.IfNullOrWhitespace(conversationId); } /// /// Gets the conversation identifier. /// public string ConversationId { get; } }