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
28a3d599
"ts/vscode:/vscode.git/clone" did not exist on "e50270ccd02d7231de2fc033ec0715fdebe9fdf0"
Commit
28a3d599
authored
Dec 29, 2023
by
Timothy J. Baek
Browse files
feat: update troubleshooting messages
parent
ec87a5e7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
src/lib/components/chat/SettingsModal.svelte
src/lib/components/chat/SettingsModal.svelte
+6
-3
src/routes/(app)/+layout.svelte
src/routes/(app)/+layout.svelte
+11
-0
No files found.
src/lib/components/chat/SettingsModal.svelte
View file @
28a3d599
...
@@ -997,12 +997,12 @@
...
@@ -997,12 +997,12 @@
<hr class=" dark:border-gray-700" />
<hr class=" dark:border-gray-700" />
<div>
<div>
<div class=" mb-2.5 text-sm font-medium">Ollama
Server
URL</div>
<div class=" mb-2.5 text-sm font-medium">Ollama
API
URL</div>
<div class="flex w-full">
<div class="flex w-full">
<div class="flex-1 mr-2">
<div class="flex-1 mr-2">
<input
<input
class="w-full rounded py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-800 outline-none"
class="w-full rounded py-2 px-4 text-sm dark:text-gray-300 dark:bg-gray-800 outline-none"
placeholder="Enter URL (e.g. http://localhost:
11434
/api)"
placeholder="Enter URL (e.g. http://localhost:
8080/ollama
/api)"
bind:value={API_BASE_URL}
bind:value={API_BASE_URL}
/>
/>
</div>
</div>
...
@@ -1028,7 +1028,10 @@
...
@@ -1028,7 +1028,10 @@
</div>
</div>
<div class="mt-2 text-xs text-gray-400 dark:text-gray-500">
<div class="mt-2 text-xs text-gray-400 dark:text-gray-500">
Trouble accessing Ollama? <a
The field above should be set to <span
class=" text-gray-500 dark:text-gray-300 font-medium">'/ollama/api'</span
>;
<a
class=" text-gray-500 dark:text-gray-300 font-medium"
class=" text-gray-500 dark:text-gray-300 font-medium"
href="https://github.com/ollama-webui/ollama-webui#troubleshooting"
href="https://github.com/ollama-webui/ollama-webui#troubleshooting"
target="_blank"
target="_blank"
...
...
src/routes/(app)/+layout.svelte
View file @
28a3d599
...
@@ -249,6 +249,17 @@
...
@@ -249,6 +249,17 @@
<br class=" hidden sm:flex" />(version
<br class=" hidden sm:flex" />(version
<span class=" dark:text-white font-medium">{REQUIRED_OLLAMA_VERSION} or higher</span
<span class=" dark:text-white font-medium">{REQUIRED_OLLAMA_VERSION} or higher</span
>) or check your connection.
>) or check your connection.
<div class="mt-1 text-sm">
Trouble accessing Ollama?
<a
class=" text-black dark:text-white font-semibold underline"
href="https://github.com/ollama-webui/ollama-webui#troubleshooting"
target="_blank"
>
Click here for help.
</a>
</div>
</div>
</div>
<div class=" mt-6 mx-auto relative group w-fit">
<div class=" mt-6 mx-auto relative group w-fit">
...
...
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