Commit 7fbf52b
Fix system message height estimation to use user sizing rules
The condition was changed from 'message.role === "assistant"' to
'message.role !== "user"', which inadvertently routed system messages
into assistant sizing (72 chars/line, 78px base, no attachments) instead
of user sizing (56 chars/line, 96px base, attachment-aware). Restore the
original branching logic so system messages fall through to user sizing.
Co-authored-by: Julius Marminge <juliusmarminge@users.noreply.github.com>1 parent a16486c commit 7fbf52b
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
67 | 67 | | |
68 | 68 | | |
69 | 69 | | |
70 | | - | |
| 70 | + | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
| |||
0 commit comments