mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-07-08 13:12:08 +00:00
fix(discord): truncate thread titles by UTF-16 units + AUTHOR_MAP
Discord thread names share the same UTF-16 component budget as select labels and buttons — route the sanitizers in gateway/run.py and the adapter's rename_thread through utf16_len/_prefix_within_utf16_limit instead of code-point slices. Adds rungmc357 to AUTHOR_MAP.
This commit is contained in:
parent
0d9ed9214d
commit
1deeaf71ab
3 changed files with 16 additions and 5 deletions
|
|
@ -290,6 +290,7 @@ AUTHOR_MAP = {
|
|||
"290859878+synapsesx@users.noreply.github.com": "synapsesx",
|
||||
"157689911+itsflownium@users.noreply.github.com": "itsflownium",
|
||||
"dirtyren@users.noreply.github.com": "dirtyren",
|
||||
"210088133+rungmc357@users.noreply.github.com": "rungmc357",
|
||||
"florian.rutishauser@outlook.com": "flo1t",
|
||||
"fanyang@microsoft.com": "fanyangCS",
|
||||
"bigstar0920@gmail.com": "bigstar0920",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue