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
6a38bdcf
Commit
6a38bdcf
authored
Dec 19, 2023
by
Timothy J. Baek
Browse files
fix: better error message for connection issue
parent
e705cc28
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
30 deletions
+33
-30
src/routes/(app)/+layout.svelte
src/routes/(app)/+layout.svelte
+33
-30
No files found.
src/routes/(app)/+layout.svelte
View file @
6a38bdcf
...
@@ -236,18 +236,20 @@
...
@@ -236,18 +236,20 @@
<div
<div
class="absolute rounded-xl w-full h-full backdrop-blur bg-gray-900/60 flex justify-center"
class="absolute rounded-xl w-full h-full backdrop-blur bg-gray-900/60 flex justify-center"
>
>
<div class="m-auto pb-44">
<div class="m-auto pb-44 flex flex-col justify-center">
<div class="max-w-md">
<div class="text-center dark:text-white text-2xl font-medium z-50">
<div class="text-center dark:text-white text-2xl font-medium z-50">
Ollama
Update
Requir
ed
Connection Issue or
Update
Need
ed
</div>
</div>
<div class=" mt-4 text-center
max-w-md
text-sm dark:text-gray-200">
<div class=" mt-4 text-center text-sm dark:text-gray-200
w-full
">
Oops! It seems like your Ollama needs a little attention. <br
Oops! It seems like your Ollama needs a little attention. <br
class=" hidden sm:flex"
class=" hidden sm:flex"
/>
/>We've detected either a connection hiccup or observed that you're using an older
We encountered a connection issue or noticed that you're running an outdated version. Please
version. Ensure you're on the latest Ollama version
update to
<br class=" hidden sm:flex" />(version
<span class=" dark:text-white font-medium">{requiredOllamaVersion} or above</span>.
<span class=" dark:text-white font-medium">{requiredOllamaVersion} or higher</span>)
or check your connection.
</div>
</div>
<div class=" mt-6 mx-auto relative group w-fit">
<div class=" mt-6 mx-auto relative group w-fit">
...
@@ -270,6 +272,7 @@
...
@@ -270,6 +272,7 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
{/if}
{/if}
<div
<div
...
...
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