Provide a developer mode when running ktem (#135)
Implement and utilize `on_app_created` to support the developer mode.
This commit is contained in:
committed by
GitHub
parent
2dd531114f
commit
ebc61400d8
@@ -11,6 +11,7 @@ user_cache_dir.mkdir(parents=True, exist_ok=True)
|
||||
|
||||
|
||||
COHERE_API_KEY = config("COHERE_API_KEY", default="")
|
||||
# KH_MODE = "dev"
|
||||
KH_DATABASE = f"sqlite:///{user_cache_dir / 'sql.db'}"
|
||||
KH_DOCSTORE = {
|
||||
"__type__": "kotaemon.storages.SimpleFileDocumentStore",
|
||||
|
Reference in New Issue
Block a user