Skip to content

Commit 324aced

Browse files
committed
Simplify more
1 parent 9e69f5f commit 324aced

File tree

3 files changed

+0
-12
lines changed

3 files changed

+0
-12
lines changed

backend/onyx/server/settings/models.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,6 @@ class Settings(BaseModel):
6262
# User Knowledge settings
6363
user_knowledge_enabled: bool | None = True
6464

65-
# Curator settings
66-
curators_cannot_edit_non_owned_assistants: bool | None = False
67-
6865

6966
class UserSettings(Settings):
7067
notifications: list[Notification]

backend/onyx/server/settings/store.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
from onyx.configs.app_configs import CURATORS_CANNOT_EDIT_NON_OWNED_ASSISTANTS
21
from onyx.configs.app_configs import DISABLE_USER_KNOWLEDGE
32
from onyx.configs.app_configs import ONYX_QUERY_HISTORY_TYPE
43
from onyx.configs.constants import KV_SETTINGS_KEY
@@ -54,11 +53,6 @@ def load_settings() -> Settings:
5453
if DISABLE_USER_KNOWLEDGE:
5554
settings.user_knowledge_enabled = False
5655

57-
# Set curator settings from environment variables
58-
settings.curators_cannot_edit_non_owned_assistants = (
59-
CURATORS_CANNOT_EDIT_NON_OWNED_ASSISTANTS
60-
)
61-
6256
return settings
6357

6458

web/src/app/admin/settings/interfaces.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,6 @@ export interface Settings {
3030

3131
// User Knowledge settings
3232
user_knowledge_enabled?: boolean;
33-
34-
// Curator settings
35-
curators_cannot_edit_non_owned_assistants?: boolean;
3633
}
3734

3835
export enum NotificationType {

0 commit comments

Comments
 (0)