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
6bd7c20f
Commit
6bd7c20f
authored
Jun 01, 2024
by
Timothy J. Baek
Browse files
fix
parent
572155b4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
5 deletions
+7
-5
src/lib/components/chat/Chat.svelte
src/lib/components/chat/Chat.svelte
+6
-5
src/lib/components/chat/Messages/ResponseMessage.svelte
src/lib/components/chat/Messages/ResponseMessage.svelte
+1
-0
No files found.
src/lib/components/chat/Chat.svelte
View file @
6bd7c20f
...
@@ -1034,11 +1034,12 @@
...
@@ -1034,11 +1034,12 @@
}
}
responseMessage.error = {
responseMessage.error = {
content: $i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {
content:
provider: model.name ?? model.id
$i18n.t(`Uh-oh! There was an issue connecting to {{provider}}.`, {
}) +
provider: model.name ?? model.id
'
\
n
' +
}) +
errorMessage;
'
\
n
' +
errorMessage
};
};
responseMessage.done = true;
responseMessage.done = true;
...
...
src/lib/components/chat/Messages/ResponseMessage.svelte
View file @
6bd7c20f
...
@@ -471,6 +471,7 @@
...
@@ -471,6 +471,7 @@
{/if}
{/if}
{/each}
{/each}
{/if}
{/if}
{#if message.error}
{#if message.error}
<div
<div
class="flex mt-2 mb-4 space-x-2 border px-4 py-3 border-red-800 bg-red-800/30 font-medium rounded-lg"
class="flex mt-2 mb-4 space-x-2 border px-4 py-3 border-red-800 bg-red-800/30 font-medium rounded-lg"
...
...
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