mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2025-08-21 05:32:56 +00:00
Remove redundant initialization in AddMessageToEnd
This commit is contained in:
parent
4e9f7e524c
commit
b99edf6dd4
@ -118,8 +118,6 @@ public partial class ChatTemplateDialog : MSGComponentBase
|
|||||||
|
|
||||||
private void AddMessageToEnd()
|
private void AddMessageToEnd()
|
||||||
{
|
{
|
||||||
this.ExampleConversation ??= new List<ContentBlock>();
|
|
||||||
|
|
||||||
var newEntry = new ContentBlock
|
var newEntry = new ContentBlock
|
||||||
{
|
{
|
||||||
Role = ChatRole.USER, // Default to User
|
Role = ChatRole.USER, // Default to User
|
||||||
|
Loading…
Reference in New Issue
Block a user