mirror of
https://github.com/HKUDS/RAG-Anything.git
synced 2025-08-20 19:01:34 +03:00
Update query.py
This commit is contained in:
@@ -335,6 +335,7 @@ class QueryMixin:
|
||||
if not images_found:
|
||||
self.logger.info("No valid images found, falling back to normal query")
|
||||
# Fallback to normal query
|
||||
query_param = QueryParam(mode=mode, **kwargs)
|
||||
return await self.lightrag.aquery(query, param=query_param)
|
||||
|
||||
self.logger.info(f"Processed {images_found} images for VLM")
|
||||
|
||||
Reference in New Issue
Block a user