mirror of
https://github.com/open-webui/open-webui
synced 2025-02-06 13:10:16 +00:00
fix
This commit is contained in:
parent
572155b40c
commit
6bd7c20fbb
@ -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 New Issue
Block a user