Skip to content

Commit

Permalink
PR feedback.
Browse files Browse the repository at this point in the history
  • Loading branch information
azchohfi committed Feb 10, 2025
1 parent 951a848 commit c494eb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion AIDevGallery/Samples/BaseSamplePage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ protected virtual Task LoadModelAsync(MultiModelSampleNavigationParameters sampl
return Task.CompletedTask;
}

internal void SampleInteractedEvent(string? customInfo = null)
internal void SendSampleInteractedEvent(string? customInfo = null)
{
SampleParams?.SendSampleInteractionEvent(customInfo);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ private void AddMessage(string text)
Messages.Add(new Message(text.Trim(), DateTime.Now, ChatRole.User));
var contentStartedBeingGenerated = false; // <exclude-line>
NarratorHelper.Announce(InputBox, "Generating response, please wait.", "ChatWaitAnnouncementActivityId"); // <exclude-line>>
SampleInteractedEvent(); // <exclude-line>
SendSampleInteractedEvent("AddMessage"); // <exclude-line>

Task.Run(async () =>
{
Expand Down

0 comments on commit c494eb0

Please sign in to comment.