diff --git a/backend/danswer/background/indexing/run_indexing.py b/backend/danswer/background/indexing/run_indexing.py
index 4b38d0d95..fa684f020 100644
--- a/backend/danswer/background/indexing/run_indexing.py
+++ b/backend/danswer/background/indexing/run_indexing.py
@@ -304,9 +304,7 @@ def _prepare_index_attempt(db_session: Session, index_attempt_id: int) -> IndexA
return attempt
-def run_indexing_entrypoint(
- index_attempt_id: int, is_ee: bool = False
-) -> None:
+def run_indexing_entrypoint(index_attempt_id: int, is_ee: bool = False) -> None:
"""Entrypoint for indexing run when using dask distributed.
Wraps the actual logic in a `try` block so that we can catch any exceptions
and mark the attempt as failed."""
diff --git a/backend/danswer/background/update.py b/backend/danswer/background/update.py
index 93ab45909..d5ae2bd65 100755
--- a/backend/danswer/background/update.py
+++ b/backend/danswer/background/update.py
@@ -35,10 +35,10 @@ from danswer.db.models import IndexModelStatus
from danswer.db.swap_index import check_index_swap
from danswer.search.search_nlp_models import warm_up_encoders
from danswer.utils.logger import setup_logger
+from danswer.utils.variable_functionality import global_version
from shared_configs.configs import INDEXING_MODEL_SERVER_HOST
from shared_configs.configs import LOG_LEVEL
from shared_configs.configs import MODEL_SERVER_PORT
-from danswer.utils.variable_functionality import global_version
logger = setup_logger()
diff --git a/backend/ee/danswer/server/enterprise_settings/models.py b/backend/ee/danswer/server/enterprise_settings/models.py
index 8cd3dacd4..00b2c995c 100644
--- a/backend/ee/danswer/server/enterprise_settings/models.py
+++ b/backend/ee/danswer/server/enterprise_settings/models.py
@@ -9,5 +9,10 @@ class EnterpriseSettings(BaseModel):
application_name: str | None = None
use_custom_logo: bool = False
+ # custom Chat components
+ custom_header_content: str | None = None
+ custom_popup_header: str | None = None
+ custom_popup_content: str | None = None
+
def check_validity(self) -> None:
return
diff --git a/web/src/app/chat/Chat.tsx b/web/src/app/chat/Chat.tsx
index 8c9052186..0d5a32756 100644
--- a/web/src/app/chat/Chat.tsx
+++ b/web/src/app/chat/Chat.tsx
@@ -41,13 +41,14 @@ import { usePopup } from "@/components/admin/connectors/Popup";
import { ResizableSection } from "@/components/resizable/ResizableSection";
import { DanswerInitializingLoader } from "@/components/DanswerInitializingLoader";
import { ChatIntro } from "./ChatIntro";
-import { HEADER_PADDING } from "@/lib/constants";
import { computeAvailableFilters } from "@/lib/filters";
import { useDocumentSelection } from "./useDocumentSelection";
import { StarterMessage } from "./StarterMessage";
import { ShareChatSessionModal } from "./modal/ShareChatSessionModal";
import { SEARCH_PARAM_NAMES, shouldSubmitOnLoad } from "./searchParams";
import { Persona } from "../admin/assistants/interfaces";
+import { ChatBanner } from "./ChatBanner";
+import { HEADER_PADDING } from "@/lib/constants";
const MAX_INPUT_HEIGHT = 200;
@@ -594,6 +595,10 @@ export const Chat = ({
className={`w-full h-full ${HEADER_PADDING} flex flex-col overflow-y-auto overflow-x-hidden relative`}
ref={scrollableDivRef}
>
+ {/* ChatBanner is a custom banner that displays a admin-specified message at
+ the top of the chat page. Only used in the EE version of the app. */}
+