This commit is contained in:
Timothy J. Baek 2024-06-01 10:33:49 -07:00
parent 572155b40c
commit 6bd7c20fbb
2 changed files with 7 additions and 5 deletions

View File

@ -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;

View File

@ -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"