File tree 3 files changed +4
-4
lines changed
3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,9 @@ TAVILY_API_KEY=[YOUR_TAVILY_API_KEY] # Get your API key at: https://app.tavily.
18
18
# Chat History Storage
19
19
# Enable persistent chat history across sessions
20
20
#------------------------------------------------------------------------------
21
- # NEXT_PUBLIC_ENABLE_SAVE_CHAT_HISTORY =true # enable chat history storage
21
+ # ENABLE_SAVE_CHAT_HISTORY =true # enable chat history storage
22
22
23
- # Redis Configuration (Required if NEXT_PUBLIC_ENABLE_SAVE_CHAT_HISTORY =true)
23
+ # Redis Configuration (Required if ENABLE_SAVE_CHAT_HISTORY =true)
24
24
# Choose between local Redis or Upstash Redis
25
25
# OPTION 1: Local Redis
26
26
# USE_LOCAL_REDIS=false # use local Redis
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ export default function RootLayout({
46
46
children : React . ReactNode
47
47
} > ) {
48
48
const enableSaveChatHistory =
49
- process . env . NEXT_PUBLIC_ENABLE_SAVE_CHAT_HISTORY === 'true'
49
+ process . env . ENABLE_SAVE_CHAT_HISTORY === 'true'
50
50
return (
51
51
< html lang = "en" suppressHydrationWarning >
52
52
< body className = { cn ( 'font-sans antialiased' , fontSans . variable ) } >
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ const HistoryContainer: React.FC<HistoryContainerProps> = async ({
10
10
location
11
11
} ) => {
12
12
const enableSaveChatHistory =
13
- process . env . NEXT_PUBLIC_ENABLE_SAVE_CHAT_HISTORY === 'true'
13
+ process . env . ENABLE_SAVE_CHAT_HISTORY === 'true'
14
14
if ( ! enableSaveChatHistory ) {
15
15
return null
16
16
}
You can’t perform that action at this time.
0 commit comments