Bump version to 1.2.9 and update API version to 1.2.3

- Add WHITELIST_PATHS environment variable to Server's README
This commit is contained in:
yangdx
2025-03-24 12:29:17 +08:00
parent 77ab26e5bf
commit 13056822a8
3 changed files with 5 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
from .lightrag import LightRAG as LightRAG, QueryParam as QueryParam from .lightrag import LightRAG as LightRAG, QueryParam as QueryParam
__version__ = "1.2.8" __version__ = "1.2.9"
__author__ = "Zirui Guo" __author__ = "Zirui Guo"
__url__ = "https://github.com/HKUDS/LightRAG" __url__ = "https://github.com/HKUDS/LightRAG"

View File

@@ -153,10 +153,6 @@ sudo systemctl status lightrag.service
sudo systemctl enable lightrag.service sudo systemctl enable lightrag.service
``` ```
## Ollama Emulation ## Ollama Emulation
We provide an Ollama-compatible interfaces for LightRAG, aiming to emulate LightRAG as an Ollama chat model. This allows AI chat frontends supporting Ollama, such as Open WebUI, to access LightRAG easily. We provide an Ollama-compatible interfaces for LightRAG, aiming to emulate LightRAG as an Ollama chat model. This allows AI chat frontends supporting Ollama, such as Open WebUI, to access LightRAG easily.
@@ -196,8 +192,11 @@ By default, the LightRAG Server can be accessed without any authentication. We c
``` ```
LIGHTRAG_API_KEY=your-secure-api-key-here LIGHTRAG_API_KEY=your-secure-api-key-here
WHITELIST_PATHS=/health,/api/*
``` ```
> Health check and Ollama emuluation endpoins is exclude from API-KEY check by default.
* Account credentials (the web UI requires login before access) * Account credentials (the web UI requires login before access)
LightRAG API Server implements JWT-based authentication using HS256 algorithm. To enable secure access control, the following environment variables are required: LightRAG API Server implements JWT-based authentication using HS256 algorithm. To enable secure access control, the following environment variables are required:

View File

@@ -1 +1 @@
__api_version__ = "1.2.2" __api_version__ = "1.2.3"