mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-15 13:55:19 +00:00
fix
This commit is contained in:
parent
572155b40c
commit
6bd7c20fbb
2 changed files with 7 additions and 5 deletions
|
|
@ -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;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue