File tree Expand file tree Collapse file tree 3 files changed +0
-12
lines changed
backend/onyx/server/settings
web/src/app/admin/settings Expand file tree Collapse file tree 3 files changed +0
-12
lines changed Original file line number Diff line number Diff line change @@ -62,9 +62,6 @@ class Settings(BaseModel):
62
62
# User Knowledge settings
63
63
user_knowledge_enabled : bool | None = True
64
64
65
- # Curator settings
66
- curators_cannot_edit_non_owned_assistants : bool | None = False
67
-
68
65
69
66
class UserSettings (Settings ):
70
67
notifications : list [Notification ]
Original file line number Diff line number Diff line change 1
- from onyx .configs .app_configs import CURATORS_CANNOT_EDIT_NON_OWNED_ASSISTANTS
2
1
from onyx .configs .app_configs import DISABLE_USER_KNOWLEDGE
3
2
from onyx .configs .app_configs import ONYX_QUERY_HISTORY_TYPE
4
3
from onyx .configs .constants import KV_SETTINGS_KEY
@@ -54,11 +53,6 @@ def load_settings() -> Settings:
54
53
if DISABLE_USER_KNOWLEDGE :
55
54
settings .user_knowledge_enabled = False
56
55
57
- # Set curator settings from environment variables
58
- settings .curators_cannot_edit_non_owned_assistants = (
59
- CURATORS_CANNOT_EDIT_NON_OWNED_ASSISTANTS
60
- )
61
-
62
56
return settings
63
57
64
58
Original file line number Diff line number Diff line change @@ -30,9 +30,6 @@ export interface Settings {
30
30
31
31
// User Knowledge settings
32
32
user_knowledge_enabled ?: boolean ;
33
-
34
- // Curator settings
35
- curators_cannot_edit_non_owned_assistants ?: boolean ;
36
33
}
37
34
38
35
export enum NotificationType {
You can’t perform that action at this time.
0 commit comments