Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-image-llm-config

This commit is contained in:
Jicheng Lu 2025-10-12 22:38:31 -05:00
commit 2b6800a201

View file

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