try this for word of the day

This commit is contained in:
Jacob Dubin
2026-04-18 18:37:18 -05:00
parent 87936094dd
commit ce53da3921

View File

@@ -45,9 +45,11 @@ public sealed class ResponsePlanToSocketMessagesMapper
? ["main-menu/execute_fun_stuff"]
: isYesNoTurn && isYesNoIntent ? [yesNoCreateRule!] : rules;
var entities = ReadEntities(turn, messageType, isYesNoTurn && isYesNoIntent, isWordOfDayLaunch, isWordOfDayGuess, wordOfDayGuess);
var messages = new List<SocketReplyPlan>
var messages = new List<SocketReplyPlan>();
if (!isWordOfDayLaunch)
{
new(JsonSerializer.Serialize(new
messages.AddRange(new SocketReplyPlan(JsonSerializer.Serialize(new
{
type = "LISTEN",
transID = transId,
@@ -74,15 +76,15 @@ public sealed class ResponsePlanToSocketMessagesMapper
}
}
})),
new(JsonSerializer.Serialize(new
new SocketReplyPlan(JsonSerializer.Serialize(new
{
type = "EOS",
ts = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds(),
msgID = CreateHubMessageId(),
transID = transId,
data = new { }
}))
};
})));
}
if (emitSkillActions && speak is not null)
{