fix: guard empty assistant message bullets from rendering
👾 Generated with [Letta Code](https://letta.com) Co-Authored-By: Letta <noreply@letta.com>
This commit is contained in:
@@ -35,6 +35,9 @@ export const AssistantMessage = memo(({ line }: { line: AssistantLine }) => {
|
||||
const contentWidth = Math.max(0, columns - 2);
|
||||
|
||||
const normalizedText = normalize(line.text);
|
||||
if (!normalizedText.trim()) {
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
<Box flexDirection="row">
|
||||
|
||||
Reference in New Issue
Block a user