fix role content

This commit is contained in:
Jicheng Lu 2025-10-12 22:47:11 -05:00
parent 2b6800a201
commit 77a79d9957

View file

@ -150,10 +150,6 @@ public class RoleDialogModel : ITrackableMessage
{
text = !string.IsNullOrWhiteSpace(Payload) ? Payload : Content;
}
else
{
text = !string.IsNullOrWhiteSpace(Content) ? Content : RichContent?.Message?.Text;
}
return text;
}