Skip to content

Commit b2efe98

Browse files
committed
feedback
1 parent 438548f commit b2efe98

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/AIOptions.cs

+1
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ public sealed class AIOptions<TState> where TState : TurnState
6464

6565
/// <summary>
6666
/// Represents the type of feedback loop. Set to "default" by default. It can be set to one of "default" or "custom".
67+
/// The <see cref="AIOptions{TState}.EnableFeedbackLoop"/> property should be set to true to use this property.
6768
/// </summary>
6869
public string FeedbackLoopType { get; set; } = "default";
6970

dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI/Action/DefaultActions.cs

+4-2
Original file line numberDiff line numberDiff line change
@@ -139,8 +139,10 @@ public async Task<string> SayCommandAsync([ActionTurnContext] ITurnContext turnC
139139
{
140140
channelData = new
141141
{
142-
feedbackLoopEnabled = true,
143-
feedbackLoopType = _feedbackLoopType
142+
feedbackLoop = new
143+
{
144+
type = _feedbackLoopType
145+
}
144146
};
145147
}
146148
else

0 commit comments

Comments
 (0)