fix linting

This commit is contained in:
zrguo
2025-03-11 15:44:01 +08:00
parent 62b304600b
commit 418aea3895
3 changed files with 15 additions and 11 deletions

View File

@@ -1294,14 +1294,14 @@ class LightRAG:
):
"""
Query with separate keyword extraction step.
This method extracts keywords from the query first, then uses them for the query.
Args:
query: User query
prompt: Additional prompt for the query
param: Query parameters
Returns:
Query response
"""
@@ -1315,12 +1315,12 @@ class LightRAG:
) -> str | AsyncIterator[str]:
"""
Async version of query_with_separate_keyword_extraction.
Args:
query: User query
prompt: Additional prompt for the query
param: Query parameters
Returns:
Query response or async iterator
"""
@@ -1336,7 +1336,7 @@ class LightRAG:
global_config=asdict(self),
hashing_kv=self.llm_response_cache,
)
await self._query_done()
return response