Skip to content

Commit 3bb76e8

Browse files
committed
Make max preview messages 3
1 parent c10c383 commit 3bb76e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ def truncate(text: str, max: int=50) -> str:
2727
return text[:max-3].strip() + '...' if len(text) > max else text
2828

2929
def format_preview(messages):
30-
messages = messages[:5]
30+
messages = messages[:3]
3131
out = ''
3232
for message in messages:
3333
if message.get('type') in ('note', 'internal'):

0 commit comments

Comments
 (0)