Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
open-webui
Commits
4c4d50f1
Unverified
Commit
4c4d50f1
authored
Nov 29, 2023
by
Timothy Jaeryang Baek
Committed by
GitHub
Nov 29, 2023
Browse files
Merge pull request #164 from ollama-webui/dev
fix: user message formatting
parents
a43c1689
1dac6995
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/lib/components/chat/Messages.svelte
src/lib/components/chat/Messages.svelte
+1
-1
No files found.
src/lib/components/chat/Messages.svelte
View file @
4c4d50f1
...
@@ -425,7 +425,7 @@
...
@@ -425,7 +425,7 @@
{/each}
{/each}
</div>
</div>
{/if}
{/if}
{message.content}
<pre
class=
""
>
{message.content}
</pre>
<div
class=
" flex justify-start space-x-1"
>
<div
class=
" flex justify-start space-x-1"
>
{#if message.parentId !== null
&&
message.parentId in history.messages
&&
(history.messages[message.parentId]?.childrenIds.length ?? 0) > 1}
{#if message.parentId !== null
&&
message.parentId in history.messages
&&
(history.messages[message.parentId]?.childrenIds.length ?? 0) > 1}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment