feat: tweak the 'Chat suggestion' feature to tie it to conversations (#341) #none

Signed-off-by: Kennywu <jdlow@live.cn>
This commit is contained in:
KennyWu
2024-10-10 12:02:04 +08:00
committed by GitHub
parent 96f58a445a
commit 49a083fd9f
5 changed files with 295 additions and 8 deletions

View File

@@ -63,6 +63,7 @@ os.environ["HF_HUB_CACHE"] = str(KH_APP_DATA_DIR / "huggingface")
KH_DOC_DIR = this_dir / "docs"
KH_MODE = "dev"
KH_FEATURE_CHAT_SUGGESTION = config("KH_FEATURE_CHAT_SUGGESTION", default=False)
KH_FEATURE_USER_MANAGEMENT = config(
"KH_FEATURE_USER_MANAGEMENT", default=True, cast=bool
)