Merge branch 'master' of https://github.com/SciSharp/BotSharp into features/add-image-llm-config
This commit is contained in:
commit
2b6800a201
|
|
@ -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;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue