Skip to content

Commit 73085f1

Browse files
committed
chore: Add history size to chatbot
1 parent cd30ba0 commit 73085f1

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ VITE_GALLERY_WEBSITE_URL="http://localhost:3000"
55
VITE_GALLERY_API_URL="http://localhost:3100"
66

77
# note that the rag api key identifies the client and is exposed client-side
8-
VITE_RAG_QUERY_API_URL="http://localhost:8080/api/v1/gemini"
8+
VITE_RAG_QUERY_API_URL="http://localhost:8080/api/v1/gemini/models"
99
VITE_RAG_QUERY_API_KEY="RAG_QUERY_API_KEY"
1010

1111
# theme configurations

src/components/Home/HeroSection.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,7 @@ const HeroSection = (): JSX.Element => {
8282
'X-API-KEY': import.meta.env.VITE_RAG_QUERY_API_KEY,
8383
},
8484
}),
85+
historySize: 20,
8586
outputType: 'character',
8687
},
8788
renderMarkdown: ['BOT'],

0 commit comments

Comments
 (0)