From 69b3f0b37bb6fe291d9e0b31aa16b287f1a213b6 Mon Sep 17 00:00:00 2001 From: Saifeddine ALOUI Date: Tue, 24 Dec 2024 11:33:28 +0100 Subject: [PATCH] fixed the default lollms server port number --- README.md | 4 ++-- lightrag/api/lollms_lightrag_server.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 13c7676a..a53aa49a 100644 --- a/README.md +++ b/README.md @@ -1048,7 +1048,7 @@ Before running any of the servers, ensure you have the corresponding backend ser #### For LoLLMs Server - LoLLMs must be running and accessible -- Default connection: http://localhost:11434 +- Default connection: http://localhost:9600 - Configure using --lollms-host if running on a different host/port #### For Ollama Server @@ -1072,7 +1072,7 @@ Each server has its own specific configuration options: | --port | 9621 | RAG server port | | --model | mistral-nemo:latest | LLM model name | | --embedding-model | bge-m3:latest | Embedding model name | -| --lollms-host | http://localhost:11434 | LoLLMS backend URL | +| --lollms-host | http://localhost:9600 | LoLLMS backend URL | | --working-dir | ./rag_storage | Working directory for RAG | | --max-async | 4 | Maximum async operations | | --max-tokens | 32768 | Maximum token size | diff --git a/lightrag/api/lollms_lightrag_server.py b/lightrag/api/lollms_lightrag_server.py index cbe24d31..19117e15 100644 --- a/lightrag/api/lollms_lightrag_server.py +++ b/lightrag/api/lollms_lightrag_server.py @@ -51,8 +51,8 @@ def parse_args(): ) parser.add_argument( "--lollms-host", - default="http://localhost:11434", - help="lollms host URL (default: http://localhost:11434)", + default="http://localhost:9600", + help="lollms host URL (default: http://localhost:9600)", ) # RAG configuration