Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(env): change env var typo #1307

Merged
merged 1 commit into from
Jun 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading