From 04b08be60b9d1a025b2feff872c26985eb54b99e Mon Sep 17 00:00:00 2001 From: fofolee Date: Sat, 15 Mar 2025 11:09:53 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96ai=E6=8E=A5=E5=8F=A3=E5=BC=82?= =?UTF-8?q?=E5=B8=B8=E5=A4=84=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugin/lib/ai.js | 1 + 1 file changed, 1 insertion(+) diff --git a/plugin/lib/ai.js b/plugin/lib/ai.js index ad8879d..edb7d1d 100644 --- a/plugin/lib/ai.js +++ b/plugin/lib/ai.js @@ -325,6 +325,7 @@ async function chat(content, apiConfig, options = {}) { }); if (!response.ok) { + processBar?.close(); throw new Error(`HTTP error! status: ${response.status}`); }