Fix linting
This commit is contained in:
@@ -446,7 +446,6 @@ async def extract_entities(
|
||||
pipeline_status_lock=None,
|
||||
llm_response_cache: BaseKVStorage | None = None,
|
||||
) -> None:
|
||||
|
||||
use_llm_func: callable = global_config["llm_model_func"]
|
||||
entity_extract_max_gleaning = global_config["entity_extract_max_gleaning"]
|
||||
|
||||
|
@@ -915,10 +915,10 @@ def lazy_external_import(module_name: str, class_name: str) -> Callable[..., Any
|
||||
async def use_llm_func_with_cache(
|
||||
input_text: str,
|
||||
use_llm_func: callable,
|
||||
llm_response_cache: 'BaseKVStorage | None' = None,
|
||||
llm_response_cache: "BaseKVStorage | None" = None,
|
||||
max_tokens: int = None,
|
||||
history_messages: list[dict[str, str]] = None,
|
||||
cache_type: str = "extract"
|
||||
cache_type: str = "extract",
|
||||
) -> str:
|
||||
"""Call LLM function with cache support
|
||||
|
||||
|
Reference in New Issue
Block a user