From 65f1c27963cead9d40556db79c5661df02da82d4 Mon Sep 17 00:00:00 2001 From: Debanjum Date: Fri, 10 Jan 2025 23:43:04 +0700 Subject: [PATCH] Remove old, big warning about Khoj not configured on server init - Just say using default config. This old khoj.yml settings mechamism isn't standard, so not having a configured khoj.yml isn't a concern - Deep link to desktop download instead of the whole download page as android etc. are also on it, which don't help with syncing docs --- src/khoj/configure.py | 2 +- src/khoj/processor/conversation/prompts.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/khoj/configure.py b/src/khoj/configure.py index 900b3e30..06b5b497 100644 --- a/src/khoj/configure.py +++ b/src/khoj/configure.py @@ -228,7 +228,7 @@ def configure_server( ): # Update Config if config == None: - logger.info(f"🚨 Khoj is not configured.\nInitializing it with a default config.") + logger.info(f"Initializing with default config.") config = FullConfig() state.config = config diff --git a/src/khoj/processor/conversation/prompts.py b/src/khoj/processor/conversation/prompts.py index 50e9184d..e1ed7820 100644 --- a/src/khoj/processor/conversation/prompts.py +++ b/src/khoj/processor/conversation/prompts.py @@ -74,7 +74,7 @@ no_online_results_found = PromptTemplate.from_template( no_entries_found = PromptTemplate.from_template( """ - It looks like you haven't added any notes yet. No worries, you can fix that by downloading the Khoj app from here. + It looks like you haven't synced any notes yet. No worries, you can fix that by downloading the Khoj app from here. """.strip() )