Skip to content

Build your personal knowledge base with Trilium Notes

fix(llm): make sure the default option for ollama in settings matches what the client shows

perf3ct6169efe96b1d
diff --git a/apps/server/src/services/options_init.ts b/apps/server/src/services/options_init.ts
index 09896726a8..212f473662 100644
--- a/apps/server/src/services/options_init.ts
+++ b/apps/server/src/services/options_init.ts
@@ -205,7 +205,7 @@ const defaultOptions: DefaultOption[] = [
{ name: "anthropicBaseUrl", value: "https://api.anthropic.com/v1", isSynced: true },
{ name: "ollamaEnabled", value: "false", isSynced: true },
{ name: "ollamaDefaultModel", value: "llama3", isSynced: true },
- { name: "ollamaBaseUrl", value: "", isSynced: true },
+ { name: "ollamaBaseUrl", value: "http://localhost:11434", isSynced: true },
{ name: "ollamaEmbeddingModel", value: "nomic-embed-text", isSynced: true },
{ name: "embeddingAutoUpdateEnabled", value: "true", isSynced: true },