Fix linting
This commit is contained in:
parent
8a0d06e557
commit
6a2a592224
1 changed files with 2 additions and 6 deletions
|
|
@ -269,9 +269,7 @@ async def _summarize_descriptions(
|
||||||
# Apply higher priority (8) to entity/relation summary tasks
|
# Apply higher priority (8) to entity/relation summary tasks
|
||||||
use_llm_func = partial(use_llm_func, _priority=8)
|
use_llm_func = partial(use_llm_func, _priority=8)
|
||||||
|
|
||||||
language = global_config["addon_params"].get(
|
language = global_config["addon_params"].get("language", DEFAULT_SUMMARY_LANGUAGE)
|
||||||
"language", DEFAULT_SUMMARY_LANGUAGE
|
|
||||||
)
|
|
||||||
|
|
||||||
summary_length_recommended = global_config["summary_length_recommended"]
|
summary_length_recommended = global_config["summary_length_recommended"]
|
||||||
|
|
||||||
|
|
@ -2114,9 +2112,7 @@ async def extract_keywords_only(
|
||||||
)
|
)
|
||||||
else:
|
else:
|
||||||
examples = "\n".join(PROMPTS["keywords_extraction_examples"])
|
examples = "\n".join(PROMPTS["keywords_extraction_examples"])
|
||||||
language = global_config["addon_params"].get(
|
language = global_config["addon_params"].get("language", DEFAULT_SUMMARY_LANGUAGE)
|
||||||
"language", DEFAULT_SUMMARY_LANGUAGE
|
|
||||||
)
|
|
||||||
|
|
||||||
# 3. Process conversation history
|
# 3. Process conversation history
|
||||||
# history_context = ""
|
# history_context = ""
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue