mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-22 23:40:29 +01:00
Don't check for system flag in role filter
This commit is contained in:
parent
14aa70eea8
commit
c561fb4fab
@ -1337,7 +1337,7 @@ function getMessagesCallback(args, value) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (role === 'system') {
|
if (role === 'system') {
|
||||||
return mes.is_system || mes.extra?.type === system_message_types.NARRATOR;
|
return mes.extra?.type === system_message_types.NARRATOR;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (role === 'assistant') {
|
if (role === 'assistant') {
|
||||||
|
Loading…
Reference in New Issue
Block a user