Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
singhk97 committed Jan 31, 2025
1 parent 438548f commit b2efe98
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,7 @@ public sealed class AIOptions<TState> where TState : TurnState

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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,8 +139,10 @@ public async Task<string> SayCommandAsync([ActionTurnContext] ITurnContext turnC
{
channelData = new
{
feedbackLoopEnabled = true,
feedbackLoopType = _feedbackLoopType
feedbackLoop = new
{
type = _feedbackLoopType
}
};
}
else
Expand Down

0 comments on commit b2efe98

Please sign in to comment.