mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
Handle research iterations where document search returns no results
This commit is contained in:
@@ -347,6 +347,8 @@ async def research(
|
||||
except Exception as e:
|
||||
this_iteration.warning = f"Error extracting document references: {e}"
|
||||
logger.error(this_iteration.warning, exc_info=True)
|
||||
else:
|
||||
this_iteration.warning = "No matching document references found"
|
||||
|
||||
elif this_iteration.tool == ConversationCommand.Online:
|
||||
previous_subqueries = {
|
||||
|
||||
Reference in New Issue
Block a user