mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-05 03:18:41 +00:00
fix: linting
This commit is contained in:
parent
438caa776d
commit
1a0d7d6ece
@ -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"),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user