Yidadaa 1 년 전
부모
커밋
a913d9728c
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      app/store/config.ts

+ 1 - 0
app/store/config.ts

@@ -137,6 +137,7 @@ export const useAppConfig = create<ChatConfigStore>()(
       allModels() {
         const customModels = get()
           .customModels.split(",")
+          .filter((v) => !!v && v.length > 0)
           .map((m) => ({ name: m, available: true }));
 
         const models = get().models.concat(customModels);