Commit 6bd7c20f authored by Timothy J. Baek's avatar Timothy J. Baek
Browse files

fix

parent 572155b4
...@@ -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;
......
...@@ -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"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment