Skip to content

Commit

Permalink
brain/sqlbrain: trim trailing space from recalled messages
Browse files Browse the repository at this point in the history
The trailing space is a result of the tokenizing algorithm, not the
actual message.

For #90.
  • Loading branch information
zephyrtronium committed Dec 14, 2024
1 parent 4c9186b commit f19fab1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion brain/sqlbrain/recall.sql
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,6 @@ SELECT
id,
time,
user,
GROUP_CONCAT(suffix, '') AS msg
TRIM(GROUP_CONCAT(suffix, '')) AS msg
FROM k
GROUP BY id, time, user

0 comments on commit f19fab1

Please sign in to comment.