Add user dropdown seed-able list (#2308)

* add user dropdown seedable list

* minor cleanup

* fix build issue

* minor type update

* remove log

* quick update to divider logic (squash)

* tiny icon updates
This commit is contained in:
pablodanswer
2024-09-03 12:24:50 -07:00
committed by GitHub
parent 5da6d792de
commit 32359d2dff
7 changed files with 100 additions and 8 deletions

View File

@ -1,4 +1,13 @@
from typing import List
from pydantic import BaseModel
from pydantic import Field
class NavigationItem(BaseModel):
link: str
icon: str
title: str
class EnterpriseSettings(BaseModel):
@ -10,6 +19,9 @@ class EnterpriseSettings(BaseModel):
use_custom_logo: bool = False
use_custom_logotype: bool = False
# custom navigation
custom_nav_items: List[NavigationItem] = Field(default_factory=list)
# custom Chat components
two_lines_for_chat_header: bool | None = None
custom_lower_disclaimer_content: str | None = None