This repository was archived by the owner on Dec 11, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 6 files changed +13
-14
lines changed
components/admin/connectors Expand file tree Collapse file tree 6 files changed +13
-14
lines changed Original file line number Diff line number Diff line change 44
55import redis
66from danswer .chat .models import LlmDoc
7- from danswer .configs .app_configs import (
8- AIRTABLE_API_TOKEN ,
9- AIRTABLE_EMPLOYEE_BASE_ID ,
10- AIRTABLE_EMPLOYEE_TABLE_NAME_OR_ID ,
11- REDIS_DB_NUMBER ,
12- REDIS_HOST ,
13- REDIS_PORT ,
14- )
7+ from danswer .configs .app_configs import AIRTABLE_API_TOKEN
8+ from danswer .configs .app_configs import AIRTABLE_EMPLOYEE_BASE_ID
9+ from danswer .configs .app_configs import AIRTABLE_EMPLOYEE_TABLE_NAME_OR_ID
10+ from danswer .configs .app_configs import REDIS_DB_NUMBER
11+ from danswer .configs .app_configs import REDIS_HOST
12+ from danswer .configs .app_configs import REDIS_PORT
1513from danswer .configs .chat_configs import LANGUAGE_HINT
1614from danswer .configs .constants import DocumentSource
1715from danswer .db .models import Prompt
1816from danswer .llm .answering .models import PromptConfig
19- from danswer .prompts .chat_prompts import ADDITIONAL_INFO , CITATION_REMINDER
17+ from danswer .prompts .chat_prompts import ADDITIONAL_INFO
18+ from danswer .prompts .chat_prompts import CITATION_REMINDER
2019from danswer .prompts .constants import CODE_BLOCK_PAT
2120from danswer .search .models import InferenceChunk
2221from danswer .utils .logger import setup_logger
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ function BackToDanswerButton() {
2424 < div className = "absolute bottom-0 bg-background w-full flex border-t border-border py-4" >
2525 < div className = "mx-auto" >
2626 < Button onClick = { ( ) => router . push ( "/chat" ) } >
27- Back to { enterpriseSettings ?. application_name || "Danswer Chat " }
27+ Back to { enterpriseSettings ?. application_name || "Eve AI " }
2828 </ Button >
2929 </ div >
3030 pr
Original file line number Diff line number Diff line change @@ -25,14 +25,14 @@ const inter = Inter({
2525} ) ;
2626
2727export async function generateMetadata ( ) : Promise < Metadata > {
28- let logoLocation = buildClientUrl ( "/eve- favicon.svg " ) ;
28+ let logoLocation = buildClientUrl ( "/favicon.ico " ) ;
2929 let enterpriseSettings : EnterpriseSettings | null = null ;
3030 if ( SERVER_SIDE_ONLY__PAID_ENTERPRISE_FEATURES_ENABLED ) {
3131 enterpriseSettings = await ( await fetchEnterpriseSettingsSS ( ) ) . json ( ) ;
3232 logoLocation =
3333 enterpriseSettings && enterpriseSettings . use_custom_logo
3434 ? "/api/enterprise-settings/logo"
35- : buildClientUrl ( "/eve- favicon.svg " ) ;
35+ : buildClientUrl ( "/favicon.ico " ) ;
3636 }
3737
3838 return {
Original file line number Diff line number Diff line change @@ -81,7 +81,7 @@ export function AdminSidebar({ collections }: { collections: Collection[] }) {
8181 < p className = "ml-1 break-words line-clamp-2 ellipsis leading-none" >
8282 Back to{ " " }
8383 { combinedSettings . enterpriseSettings ?. application_name ||
84- "Danswer " }
84+ "Eve AI " }
8585 </ p >
8686 </ button >
8787 </ Link >
@@ -126,7 +126,7 @@ export function AdminSidebar({ collections }: { collections: Collection[] }) {
126126 key = { "danswerVersion" }
127127 >
128128 < h2 className = "text-xs text-text w-52 font-medium pb-2" >
129- Danswer version: { combinedSettings . webVersion }
129+ Eve AI version: { combinedSettings . webVersion }
130130 </ h2 >
131131 </ div >
132132 ) }
You can’t perform that action at this time.
0 commit comments