add logging

This commit is contained in:
Jicheng Lu 2025-07-29 13:58:27 -05:00
parent 7d3579c1ec
commit 6419ca3f8f

View file

@ -28,6 +28,9 @@ public class ConversationObserver : IObserver<HubObserveData<RoleDialogModel>>
if (value.EventName == ChatEvent.OnIndicationReceived
&& progress.OnFunctionExecuting != null)
{
#if DEBUG
_logger.LogCritical($"Receiving {value.EventName} in {nameof(ConversationObserver)}");
#endif
progress.OnFunctionExecuting(value.Data).ConfigureAwait(false).GetAwaiter().GetResult();
}
}