File tree 2 files changed +5
-2
lines changed
dotnet/packages/Microsoft.TeamsAI/Microsoft.TeamsAI/AI
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,7 @@ public sealed class AIOptions<TState> where TState : TurnState
64
64
65
65
/// <summary>
66
66
/// 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.
67
68
/// </summary>
68
69
public string FeedbackLoopType { get ; set ; } = "default" ;
69
70
Original file line number Diff line number Diff line change @@ -139,8 +139,10 @@ public async Task<string> SayCommandAsync([ActionTurnContext] ITurnContext turnC
139
139
{
140
140
channelData = new
141
141
{
142
- feedbackLoopEnabled = true ,
143
- feedbackLoopType = _feedbackLoopType
142
+ feedbackLoop = new
143
+ {
144
+ type = _feedbackLoopType
145
+ }
144
146
} ;
145
147
}
146
148
else
You can’t perform that action at this time.
0 commit comments