You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
.NET: Update AgentFeatureCollections with feedback (#2379)
* Update AgentFeatureCollections with feedback
* Address feedback.
* Fix issue with sample.
* Change generic type restriction to notnull
* Remove revision
* Update dotnet/src/Microsoft.Agents.AI.Abstractions/Features/AgentFeatureCollectionExtensions.cs
Co-authored-by: Copilot <[email protected]>
* Add revision back again and improve some formatting.
* Remove virtual from revision.
* Add overloads taking type as param and add unit tests.
---------
Co-authored-by: Copilot <[email protected]>
$"{typeof(TFeature).FullName} does not exist in the feature collection "+
131
-
$"and because it is a struct the method can't return null. Use 'AgentFeatureCollection[typeof({typeof(TFeature).FullName})] is not null' to check if the feature exists.");
Copy file name to clipboardExpand all lines: dotnet/src/Microsoft.Agents.AI.Abstractions/Features/ConversationIdAgentFeature.cs
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -8,15 +8,15 @@ namespace Microsoft.Agents.AI;
8
8
/// An agent feature that allows providing a conversation identifier.
9
9
/// </summary>
10
10
/// <remarks>
11
-
/// This feature allows a user to provide a specific identifier for chat history whether stored in the underlying AI service or stored in a 3rd party store.
11
+
/// This feature allows a user to provide a specific identifier for chat history when stored in the underlying AI service.
12
12
/// </remarks>
13
13
publicclassConversationIdAgentFeature
14
14
{
15
15
/// <summary>
16
16
/// Initializes a new instance of the <see cref="ConversationIdAgentFeature"/> class with the specified thread
17
17
/// identifier.
18
18
/// </summary>
19
-
/// <param name="conversationId">The unique identifier of the thread required by the underlying AI service or 3rd party store. Cannot be <see langword="null"/> or empty.</param>
19
+
/// <param name="conversationId">The unique identifier of the thread required by the underlying AI service. Cannot be <see langword="null"/> or empty.</param>
0 commit comments