Skip to content

Commit

Permalink
chore: Fix pylint error (#1912)
Browse files Browse the repository at this point in the history
  • Loading branch information
fangyinc authored Aug 28, 2024
1 parent d7a893e commit e481384
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dbgpt/serve/rag/retriever/retriever_chain.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,7 @@ async def _aretrieve(
List[Chunk]: list of chunks
"""
for retriever in self._retrievers:
candidates = await retriever.aretrieve(
query=query, filters=filters
)
candidates = await retriever.aretrieve(query=query, filters=filters)
if candidates:
return candidates
return []
Expand Down

0 comments on commit e481384

Please sign in to comment.