Browse Source

hotfix and update version

lloydzhou 1 year ago
parent
commit
23ac2efd89
2 changed files with 2 additions and 2 deletions
  1. 1 1
      app/store/plugin.ts
  2. 1 1
      src-tauri/tauri.conf.json

+ 1 - 1
app/store/plugin.ts

@@ -199,7 +199,7 @@ export const usePluginStore = createPersistStore(
 
     getAsTools(ids: string[]) {
       const plugins = get().plugins;
-      const selected = ids
+      const selected = (ids || [])
         .map((id) => plugins[id])
         .filter((i) => i)
         .map((p) => FunctionToolService.add(p));

+ 1 - 1
src-tauri/tauri.conf.json

@@ -9,7 +9,7 @@
   },
   "package": {
     "productName": "NextChat",
-    "version": "2.15.0"
+    "version": "2.15.1"
   },
   "tauri": {
     "allowlist": {