This commit is contained in:
Jacob Dubin
2026-04-18 18:40:07 -05:00
parent ce53da3921
commit ca616dbcb8

View File

@@ -49,7 +49,7 @@ public sealed class ResponsePlanToSocketMessagesMapper
if (!isWordOfDayLaunch) if (!isWordOfDayLaunch)
{ {
messages.AddRange(new SocketReplyPlan(JsonSerializer.Serialize(new messages.Add(new SocketReplyPlan(JsonSerializer.Serialize(new
{ {
type = "LISTEN", type = "LISTEN",
transID = transId, transID = transId,
@@ -75,17 +75,18 @@ public sealed class ResponsePlanToSocketMessagesMapper
score = 0.95 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) if (emitSkillActions && speak is not null)
{ {
messages.Add(new SocketReplyPlan( messages.Add(new SocketReplyPlan(