From 1a0d7d6ecef8e4452d69c81f03d114cf575a3205 Mon Sep 17 00:00:00 2001 From: ultrageopro Date: Thu, 13 Feb 2025 15:29:18 +0300 Subject: [PATCH] fix: linting --- lightrag/api/lightrag_server.py | 1 + 1 file changed, 1 insertion(+) diff --git a/lightrag/api/lightrag_server.py b/lightrag/api/lightrag_server.py index fe52f592..a442074d 100644 --- a/lightrag/api/lightrag_server.py +++ b/lightrag/api/lightrag_server.py @@ -101,6 +101,7 @@ def estimate_tokens(text: str) -> int: return int(tokens) + def get_default_host(binding_type: str) -> str: default_hosts = { "ollama": os.getenv("LLM_BINDING_HOST", "http://localhost:11434"),