mirror of
https://github.com/microsoft/agent-framework.git
synced 2026-06-16 21:04:09 +08:00
ad0dac3c86
* Add ability to mark the source of Agent request messages and use that for filtering * Add support for source, in addition to source type, and add unit tests for automatic stamping * Address PR comments. * Add merge fixes * Address PR comments
17 lines
544 B
C#
17 lines
544 B
C#
// Copyright (c) Microsoft. All rights reserved.
|
|
|
|
using Microsoft.Extensions.AI;
|
|
|
|
namespace Microsoft.Agents.AI;
|
|
|
|
/// <summary>
|
|
/// Provides a constant for the key used to store the source of the agent request message.
|
|
/// </summary>
|
|
public static class AgentRequestMessageSource
|
|
{
|
|
/// <summary>
|
|
/// Provides the key used in <see cref="ChatMessage.AdditionalProperties"/> to store the source of the agent request message.
|
|
/// </summary>
|
|
public static readonly string AdditionalPropertiesKey = "Agent.RequestMessageSource";
|
|
}
|