khoj-ai / khoj

Your AI second brain. Self-hostable. Get answers from the web or your docs. Build custom agents, schedule automations, do deep research. Turn any online or local LLM into your personal, autonomous AI (e.g gpt, claude, gemini, llama, qwen, mistral).
https://khoj.dev
GNU Affero General Public License v3.0
15.92k stars 785 forks source link

Fix indexing content from Emacs #883

Closed aam-at closed 3 months ago

aam-at commented 3 months ago

Previously force was passed as a query param to the single indexing API. After the recent API updates, it is meant to select the API method to use (PATCH vs PATCH). Converting force argument to a bool fixes implementing this new behavior