From aa502fc5fcaee8edca1a32869cafe23c50818109 Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sat, 30 May 2026 21:35:32 +0800 Subject: [PATCH] =?UTF-8?q?fix(ChatGPT):=20=E5=88=A0=E9=99=A4=E9=87=8D?= =?UTF-8?q?=E5=A4=8D=E7=9A=84=E7=BC=93=E5=AD=98=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- plugins.v2/chatgpt/__init__.py | 68 ---------------------------------- 1 file changed, 68 deletions(-) diff --git a/plugins.v2/chatgpt/__init__.py b/plugins.v2/chatgpt/__init__.py index 1a5a6fc..63577c7 100644 --- a/plugins.v2/chatgpt/__init__.py +++ b/plugins.v2/chatgpt/__init__.py @@ -418,74 +418,6 @@ class ChatGPT(_PluginBase): } ], }, - { - "component": "VRow", - "content": [ - { - "component": "VCol", - "props": {"cols": 12}, - "content": [ - { - "component": "VAlert", - "props": { - "type": "info", - "variant": "tonal", - "text": "识别缓存可避免相同标题重复调用 LLM API,点击按钮可清除已缓存的识别结果。", - }, - } - ], - } - ], - }, - { - "component": "VRow", - "content": [ - { - "component": "VCol", - "props": {"cols": 12, "md": 6}, - "content": [ - { - "component": "VBtn", - "props": { - "color": "warning", - "block": True, - "onClick": { - "action": "fetch", - "url": "/plugin/ChatGPT/clear_cache", - "method": "GET", - "then": { - "action": "refresh", - }, - }, - }, - "text": "清除识别缓存", - } - ], - }, - { - "component": "VCol", - "props": {"cols": 12, "md": 6}, - "content": [ - { - "component": "VTextField", - "props": { - "model": "cache_count", - "label": "当前缓存数量", - "readonly": True, - "hint": "点击刷新按钮更新", - "persistent-hint": True, - "append-inner-icon": "mdi-refresh", - "onClick:append-inner": { - "action": "fetch", - "url": "/plugin/ChatGPT/cache_stats", - "method": "GET", - }, - }, - } - ], - } - ], - }, ], } ], {