From 749296a6c01f3853a03c70e4374a3ebcce01ea86 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Wed, 9 Oct 2024 10:48:49 -0700 Subject: [PATCH] Update llm.py --- modules/llm.py | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/llm.py b/modules/llm.py index d1a7aea..a3cca99 100644 --- a/modules/llm.py +++ b/modules/llm.py @@ -13,6 +13,7 @@ from googlesearch import search # pip install googlesearch-python enableOllamaClient = False if enableOllamaClient: # for cutsom remote host models + # https://github.com/ollama/ollama/blob/main/docs/faq.md#how-do-i-configure-ollama-server from ollama import Client as OllamaClient OllamaClient(host='http://localhost:11434') ollamaClient = OllamaClient()