mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 21:19:12 +00:00
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:
@@ -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
|
||||
|
||||
|
||||
@@ -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()
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user