We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c10c383 commit 3bb76e8Copy full SHA for 3bb76e8
core/utils.py
@@ -27,7 +27,7 @@ def truncate(text: str, max: int=50) -> str:
27
return text[:max-3].strip() + '...' if len(text) > max else text
28
29
def format_preview(messages):
30
- messages = messages[:5]
+ messages = messages[:3]
31
out = ''
32
for message in messages:
33
if message.get('type') in ('note', 'internal'):
0 commit comments