From ca616dbcb84b126787b1cb604bd1eb9f3f61ddad Mon Sep 17 00:00:00 2001 From: Jacob Dubin Date: Sat, 18 Apr 2026 18:40:07 -0500 Subject: [PATCH] try this --- .../ResponsePlanToSocketMessagesMapper.cs | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/OpenJibo/src/Jibo.Cloud/dotnet/src/Jibo.Cloud.Application/Services/ResponsePlanToSocketMessagesMapper.cs b/OpenJibo/src/Jibo.Cloud/dotnet/src/Jibo.Cloud.Application/Services/ResponsePlanToSocketMessagesMapper.cs index cd42c74..965a8b2 100644 --- a/OpenJibo/src/Jibo.Cloud/dotnet/src/Jibo.Cloud.Application/Services/ResponsePlanToSocketMessagesMapper.cs +++ b/OpenJibo/src/Jibo.Cloud/dotnet/src/Jibo.Cloud.Application/Services/ResponsePlanToSocketMessagesMapper.cs @@ -49,7 +49,7 @@ public sealed class ResponsePlanToSocketMessagesMapper if (!isWordOfDayLaunch) { - messages.AddRange(new SocketReplyPlan(JsonSerializer.Serialize(new + messages.Add(new SocketReplyPlan(JsonSerializer.Serialize(new { type = "LISTEN", transID = transId, @@ -75,17 +75,18 @@ public sealed class ResponsePlanToSocketMessagesMapper score = 0.95 } } - })), - new SocketReplyPlan(JsonSerializer.Serialize(new - { - type = "EOS", - ts = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(), - msgID = CreateHubMessageId(), - transID = transId, - data = new { } }))); } + messages.Add(new SocketReplyPlan(JsonSerializer.Serialize(new + { + type = "EOS", + ts = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(), + msgID = CreateHubMessageId(), + transID = transId, + data = new { } + }))); + if (emitSkillActions && speak is not null) { messages.Add(new SocketReplyPlan(