summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2026-02-08 17:11:29 +0300
committerGrail Finder <wohilas@gmail.com>2026-02-08 17:11:29 +0300
commit93284312cfdb5784654fa4817c726728739b1b34 (patch)
tree7ce9072576f3c5a28fc0d849d80d4cb1abb64833
parent4af866079c3f21eab12b02c3158567539ca40c50 (diff)
Enha: auto turn role display
-rw-r--r--bot.go3
-rw-r--r--sysprompts/alice_bob_carl.json2
2 files changed, 4 insertions, 1 deletions
diff --git a/bot.go b/bot.go
index 2af0453..da2424d 100644
--- a/bot.go
+++ b/bot.go
@@ -1334,6 +1334,9 @@ func triggerPrivateMessageResponses(msg *models.RoleMsg) {
Role: recipient,
Resume: true,
}
+ fmt.Fprintf(textView, "\n[-:-:b](%d) ", len(chatBody.Messages))
+ fmt.Fprint(textView, roleToIcon(recipient))
+ fmt.Fprint(textView, "[-:-:-]\n")
chatRoundChan <- crr
}
}
diff --git a/sysprompts/alice_bob_carl.json b/sysprompts/alice_bob_carl.json
index b2a0ac5..d575f93 100644
--- a/sysprompts/alice_bob_carl.json
+++ b/sysprompts/alice_bob_carl.json
@@ -3,5 +3,5 @@
"role": "Alice",
"filepath": "sysprompts/alice_bob_carl.json",
"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?\""
}