Fix: KnowTo is added only if tag present
This commit is contained in:
@@ -436,7 +436,7 @@ func TestProcessMessageTag(t *testing.T) {
|
||||
wantMsg: models.RoleMsg{
|
||||
Role: "Alice",
|
||||
Content: "Hello everyone",
|
||||
KnownTo: []string{"Alice"},
|
||||
KnownTo: nil,
|
||||
},
|
||||
},
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user