From 10e9fa3f221a1884eabc149b33cca1c2c9bacbc7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=A1=97=E8=A7=92=E5=B0=8F=E6=9E=97?= <1013335014@qq.com> Date: Wed, 26 Feb 2025 08:50:25 +0800 Subject: [PATCH] update --- web/src/utils/ai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/utils/ai.js b/web/src/utils/ai.js index 2f3156ea..59c3311a 100644 --- a/web/src/utils/ai.js +++ b/web/src/utils/ai.js @@ -88,7 +88,7 @@ class Ai { }) }) if (res.status && res.status !== 200) { - return false + throw new Error('请求失败') } return res.body.getReader() }