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
14.21k stars 705 forks source link

Add a health check to Khoj #570

Closed sabaimran closed 10 months ago

sabaimran commented 11 months ago

In api.py, add a simple /health endpoint that simply returns 200.

Sanket-Arekar commented 11 months ago

Hey @sabaimran I would like to work on this issue. Can you Please assign me this issue?

sabaimran commented 11 months ago

Awesome! Thanks for volunteering, @Sanket-Arekar . Let me know if you need any guidance with the dev setup.

I would recommend cloning the repository, creating a virtual environment, and then running pip install -e '.[dev] to get started. We also need to add better documentation for this.

Sanket-Arekar commented 11 months ago

Okay. Thank You for assigning me this issue, I will start working on it.

ayushjha119 commented 10 months ago

@sabaimran please check this i have raised a PR for this issue

ayushjha119 commented 10 months ago

@sabaimran please check now, i have raised new PR according to your requirement

sabaimran commented 10 months ago

Thank for taking care of this @ayushjha119 ! I'm updating the developer documentation based on your experience in this PR: https://github.com/khoj-ai/khoj/pull/596. Let me know if there's anything you'd like to add.

ayushjha119 commented 10 months ago

@sabaimran Thank you soo much, for helping in my first Open source contribution