From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001
From: wwf <yearningwang@iqtogether.com>
Date: 星期三, 04 六月 2025 15:17:49 +0800
Subject: [PATCH] 初始化

---
 app/components/base/chat/chat/thought/index.tsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app/components/base/chat/chat/thought/index.tsx b/app/components/base/chat/chat/thought/index.tsx
index 36f7e65..409f83d 100644
--- a/app/components/base/chat/chat/thought/index.tsx
+++ b/app/components/base/chat/chat/thought/index.tsx
@@ -14,7 +14,7 @@
     try {
       return JSON.parse(value)[index]
     }
-    catch {
+    catch (e) {
     }
   }
   return value
@@ -29,7 +29,7 @@
       if (Array.isArray(JSON.parse(thought.tool)))
         return [JSON.parse(thought.tool), true]
     }
-    catch {
+    catch (e) {
     }
     return [[thought.tool], false]
   })()

--
Gitblit v1.8.0