Closed driverCzn closed 3 months ago
Docker images info:
REPOSITORY TAG IMAGE ID CREATED SIZE
ghcr.io/khoj-ai/khoj latest 651009d56280 6 days ago 6.67GB
ankane/pgvector latest f2c967e41f72 8 months ago 440MB
Ah, @MythicalCow , this is because of that prefetch_related
bug in this method that you're fixing. Should be covered once your PR is merged!
Thanks for the detailed issue, @driverCzn !
Yup, this should be fixed soon!
Fix is merged, will be included in the next release!
I am runnning 0.14.0 version, got this error when generating images, is the issue related? @sabaimran
Describe the bug
Khoj seems fail to parse online search result. The issue exists both in local installed python package (khoj-assistant==1.13.0) and the official docker version. The main error seems to be at
khoj.processor.tools.online_sear online_search.py:145
->You cannot call this from an async context - use a thread or sync_to_async.
. Call toextract_relevant_info
inread_webpage_and_extract_content
seems fail.To Reproduce
Steps to reproduce the behavior:
/online what's the time in shanghai now
in chat (actually whatever content you put here)Screenshots
Related debug logs from docker:
Platform
If self-hosted
Additional Context
The official cloud version seems have no such issue. It would be great if you could fix this as the online search is currently not working for a self-hosted setup.