diff options
author | mgroeber9110 <45620825+mgroeber9110@users.noreply.github.com> | 2024-05-28 06:55:51 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-05-28 14:55:51 +1000 |
commit | 9335b969e86a222e247adacedf814d8abfff8847 (patch) | |
tree | 39a15be5593ffbc97c51ce55118b416c10772766 | |
parent | c41767154eb82aa3fe7568fc816c3402b78eae94 (diff) |
server: do not remove whitespace at the start of a completion chunk (#7524)
-rw-r--r-- | examples/server/public/index.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/server/public/index.html b/examples/server/public/index.html index 095c4a92..4c5a34d9 100644 --- a/examples/server/public/index.html +++ b/examples/server/public/index.html @@ -594,7 +594,7 @@ message = html`<${Probabilities} data=${data} />` } else { const text = isArrayMessage ? - data.map(msg => msg.content).join('').replace(/^\s+/, '') : + data.map(msg => msg.content).join('') : data; message = isCompletionMode ? text : |