diff --git a/lightrag/api/lightrag_server.py b/lightrag/api/lightrag_server.py index fc6f1580..d80518c6 100644 --- a/lightrag/api/lightrag_server.py +++ b/lightrag/api/lightrag_server.py @@ -179,7 +179,7 @@ def display_splash_screen(args: argparse.Namespace) -> None: ASCIIColors.yellow(f"{args.host}") ASCIIColors.white(" ├─ Port: ", end="") ASCIIColors.yellow(f"{args.port}") - ASCIIColors.white(" ├─ SSL Enabled: ", end="") + ASCIIColors.white(" └─ SSL Enabled: ", end="") ASCIIColors.yellow(f"{args.ssl}") if args.ssl: ASCIIColors.white(" ├─ SSL Cert: ", end="") diff --git a/lightrag/api/ollama_api.py b/lightrag/api/ollama_api.py index e2637db0..23b09f55 100644 --- a/lightrag/api/ollama_api.py +++ b/lightrag/api/ollama_api.py @@ -11,6 +11,11 @@ from fastapi.responses import StreamingResponse import asyncio from ascii_colors import trace_exception from lightrag import LightRAG, QueryParam +from dotenv import load_dotenv + + +# Load environment variables +load_dotenv() class OllamaServerInfos: