Skip to content

Commit 0806884

Browse files
Sarath1018claude
andcommitted
fix: truncate persona option text to 75 chars for Slack views.open limit
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent c7108dc commit 0806884

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/danswer/danswerbot/slack/handlers/handle_message.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -370,7 +370,7 @@ def handle_message(
370370
{
371371
"text": {
372372
"type": "plain_text",
373-
"text": f"{persona.name}{persona.description}",
373+
"text": f"{persona.name}{persona.description}"[:75],
374374
"emoji": True,
375375
},
376376
"value": str(persona.id),

0 commit comments

Comments
 (0)