From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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