muxi feng commited on
Commit
94bef03
·
1 Parent(s): a6c6707

修改判断

Browse files
Files changed (1) hide show
  1. app/store/chat.ts +1 -1
app/store/chat.ts CHANGED
@@ -411,7 +411,7 @@ export const useChatStore = create<ChatStore>()(
411
  countMessages(cleanMessages) >= SUMMARIZE_MIN_LEN
412
  ) {
413
  const Bot = useAppConfig.getState().bot;
414
- if (Bot != "OpenAI") {
415
  get().updateCurrentSession(
416
  (session) => (session.topic = trimTopic(Bot)),
417
  );
 
411
  countMessages(cleanMessages) >= SUMMARIZE_MIN_LEN
412
  ) {
413
  const Bot = useAppConfig.getState().bot;
414
+ if (Bot != "OpenAI (VIP)") {
415
  get().updateCurrentSession(
416
  (session) => (session.topic = trimTopic(Bot)),
417
  );