mirror of
https://github.com/HKUDS/LightRAG.git
synced 2025-12-07 12:28:05 +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)
|
return int(tokens)
|
||||||
|
|
||||||
|
|
||||||
def get_default_host(binding_type: str) -> str:
|
def get_default_host(binding_type: str) -> str:
|
||||||
default_hosts = {
|
default_hosts = {
|
||||||
"ollama": os.getenv("LLM_BINDING_HOST", "http://localhost:11434"),
|
"ollama": os.getenv("LLM_BINDING_HOST", "http://localhost:11434"),
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user