Enha: auto turn role display
This commit is contained in:
3
bot.go
3
bot.go
@@ -1334,6 +1334,9 @@ func triggerPrivateMessageResponses(msg *models.RoleMsg) {
|
|||||||
Role: recipient,
|
Role: recipient,
|
||||||
Resume: true,
|
Resume: true,
|
||||||
}
|
}
|
||||||
|
fmt.Fprintf(textView, "\n[-:-:b](%d) ", len(chatBody.Messages))
|
||||||
|
fmt.Fprint(textView, roleToIcon(recipient))
|
||||||
|
fmt.Fprint(textView, "[-:-:-]\n")
|
||||||
chatRoundChan <- crr
|
chatRoundChan <- crr
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,5 +3,5 @@
|
|||||||
"role": "Alice",
|
"role": "Alice",
|
||||||
"filepath": "sysprompts/alice_bob_carl.json",
|
"filepath": "sysprompts/alice_bob_carl.json",
|
||||||
"chars": ["Alice", "Bob", "Carl"],
|
"chars": ["Alice", "Bob", "Carl"],
|
||||||
"first_msg": "Hey guys! Want to play Alias like game? I'll tell Bob a word and he needs to describe that word so Carl can guess what it was?"
|
"first_msg": "\"Hey guys! Want to play Alias like game? I'll tell Bob a word and he needs to describe that word so Carl can guess what it was?\""
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user