mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-03 21:29:08 +00:00
Make khoj.el search, similar API calls async to not block user interactions
This commit is contained in:
@@ -680,7 +680,7 @@ Render results in BUFFER-NAME using search results, CONTENT-TYPE and (optional)
|
||||
(rerank (or rerank "false"))
|
||||
(params `((q ,query) (t ,content-type) (r ,rerank) (n ,khoj-results-count)))
|
||||
(path "/api/search"))
|
||||
(khoj--call-api path
|
||||
(khoj--call-api-async path
|
||||
"GET"
|
||||
params
|
||||
'khoj--render-search-results
|
||||
|
||||
Reference in New Issue
Block a user