Skip to content

Commit

Permalink
Remove old, big warning about Khoj not configured on server init
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
debanjum committed Jan 10, 2025
1 parent 3cc6597 commit 65f1c27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/khoj/configure.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion src/khoj/processor/conversation/prompts.py
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@

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()
)

Expand Down

0 comments on commit 65f1c27

Please sign in to comment.