refac: styling

This commit is contained in:
Timothy Jaeryang Baek
2025-07-07 19:56:31 +04:00
parent d04d0c0510
commit 8cd7de3740
4 changed files with 37 additions and 36 deletions
@@ -129,17 +129,9 @@
if (responseMessage.content == '' && data.choices[0].delta.content == '\n') {
continue;
} else {
if (textareaElement) {
textareaElement.style.height = textareaElement.scrollHeight + 'px';
}
responseMessage.content += data.choices[0].delta.content ?? '';
messages = messages;
if (textareaElement) {
textareaElement.style.height = textareaElement.scrollHeight + 'px';
}
await tick();
}
}