From f01abbfcc6742dbb5eb62e82a15fab0b93ddd167 Mon Sep 17 00:00:00 2001 From: tomasz-io Date: Wed, 11 Dec 2024 16:39:08 -0800 Subject: [PATCH] improv: ollama error message --- core/llm/index.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/llm/index.ts b/core/llm/index.ts index 55f0ac58f..b54c29ec3 100644 --- a/core/llm/index.ts +++ b/core/llm/index.ts @@ -410,7 +410,7 @@ export abstract class BaseLLM implements ILLM { e.message.includes("http://127.0.0.1:11434") ) { throw new Error( - "Failed to connect to local Ollama instance. To start Ollama, first download it at https://ollama.ai.", + "Failed to connect to local Ollama instance, please ensure Ollama is both installed and running. You can download Ollama from https://ollama.ai.", ); } }