feat: When a list of strings is received, show all of them. (#8195)

## Summary

Show all of the received strings, double newline separated.
This commit is contained in:
Alexander Brown
2026-01-20 17:37:12 -08:00
committed by GitHub
parent b1dfbfaa09
commit e83f33aeb2

View File

@@ -75,7 +75,9 @@ useExtensionService().registerExtension({
for (const previewWidget of previewWidgets) {
const text = message.text ?? ''
previewWidget.value = Array.isArray(text) ? (text[0] ?? '') : text
previewWidget.value = Array.isArray(text)
? (text?.join('\n\n') ?? '')
: text
}
}
}