Skip to content

Commit

Permalink
Update chat.tsx (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
jackalcooper committed Oct 8, 2024
1 parent f0e5c39 commit c9c4060
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/components/chat.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -1333,7 +1333,8 @@ function _Chat() {
access.useCustomConfig = true;
access.openaiApiKey = sfakValue;
access.openaiUrl =
process.env.NEXT_PUBLIC_SF_NEXT_CHAT_SF_API_ENDPOINT!;
process.env.NEXT_PUBLIC_SF_NEXT_CHAT_SF_API_ENDPOINT ||
"https://api.siliconflow.cn";
});
removeCookie("sfak");
}
Expand Down

0 comments on commit c9c4060

Please sign in to comment.