Allow file index to be private (#45)

* Fix breaking reranker

* Allow private file index

* Avoid setting default to 1 when user management is enabled
This commit is contained in:
Duc Nguyen (john)
2024-04-25 14:24:35 +07:00
committed by GitHub
parent 456f020caf
commit e29bec6275
5 changed files with 145 additions and 36 deletions

View File

@@ -365,7 +365,7 @@ class ChatPage(BasePage):
Args:
settings: the settings of the app
is_regen: whether the regen button is clicked
state: the state of the app
selected: the list of file ids that will be served as context. If None, then
consider using all files