Skip to content

Commit

Permalink
fix(env): change env var typo (#1307)
Browse files Browse the repository at this point in the history
fix(env): env var typo
  • Loading branch information
neven4 committed Jun 27, 2024
1 parent 08541fb commit 6e4d91d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .env
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ PUBLIC_APP_DESCRIPTION=# description used throughout the app (if not set, a defa
PUBLIC_APP_DATA_SHARING=#set to 1 to enable options & text regarding data sharing
PUBLIC_APP_DISCLAIMER=#set to 1 to show a disclaimer on login page
PUBLIC_APP_DISCLAIMER_MESSAGE="Disclaimer: AI is an area of active research with known problems such as biased generation and misinformation. Do not use this application for high-stakes decisions or advice. Do not insert your personal data, especially sensitive, like health data."
LLM_SUMMERIZATION=true
LLM_SUMMARIZATION=true

EXPOSE_API=true
# PUBLIC_APP_NAME=HuggingChat
Expand Down
2 changes: 1 addition & 1 deletion src/lib/server/textGeneration/title.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export async function* generateTitleForConversation(
}

export async function generateTitle(prompt: string) {
if (!env.LLM_SUMMERIZATION) {
if (!env.LLM_SUMMARIZATION) {
return prompt.split(/\s+/g).slice(0, 5).join(" ");
}

Expand Down

0 comments on commit 6e4d91d

Please sign in to comment.