+
localhost
or 127.0.0.1
you will need to',
- createTunnel: 'create a tunnel',
- or: 'or',
- allowMixedContent: 'allow mixed content',
- browseModels: 'Browse the list of available models in',
+ 'If you want to connect to an Ollama server that is not available on localhost
or 127.0.0.1
try',
+ creatingTunnel: 'Creating a tunnel',
+ allowMixedContent: 'Allow mixed content',
+ browseModels: 'Browse the list of available models',
ollamaLibrary: "Ollama's library"
},
dialogs: {
@@ -81,9 +91,9 @@ i18next.init({
},
errors: {
genericError: 'Sorry, something went wrong.\n```\n${{error}}\n```',
- somethingWentWrong: 'Sorry, something went wrong.',
- notFound: 'The page you are looking for does not exist.',
- internalServerError: 'There was an internal server error. Please try again later.',
+ somethingWentWrong: 'Sorry, something went wrong',
+ notFound: 'The page you are looking for does not exist',
+ internalServerError: 'There was an internal server error, please try again later',
cantConnectToOllamaServer: "Can't connect to Ollama server",
couldntConnectToOllamaServer: "Couldn't connect to Ollama server",
ollamaConnectionError: "Couldn't connect to Ollama. Is the [server running](/settings)?"
diff --git a/src/lib/store.ts b/src/lib/store.ts
index 8c16d461..93cc812d 100644
--- a/src/lib/store.ts
+++ b/src/lib/store.ts
@@ -1,28 +1,30 @@
-import { browser } from '$app/environment';
+import type { ModelResponse } from 'ollama/browser';
+import { browser, version } from '$app/environment';
import { writable } from 'svelte/store';
import type { Session } from '$lib/sessions';
-import type { OllamaModel } from './ollama';
import type { Knowledge } from './knowledge';
+import { env } from '$env/dynamic/public';
+import type { HollamaMetadata } from '../routes/api/metadata/+server';
-function createLocalStorageStore{$i18n.t('settingsPage.dangerZone')}
- - - -- {$i18n.t('settingsPage.version')} - -
-