ruff reformat
This commit is contained in:
parent
0ece8e102d
commit
f9d69b889e
1 changed files with 1 additions and 0 deletions
|
|
@ -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…
Add table
Reference in a new issue