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
This commit is contained in:
Debanjum
2025-01-10 23:43:04 +07:00
parent 3cc6597b49
commit 65f1c27963
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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 <a href=https://khoj.dev/downloads>here</a>.
It looks like you haven't synced any notes yet. No worries, you can fix that by downloading the Khoj app from <a href=https://khoj.dev/downloads#desktop>here</a>.
""".strip()
)