From 378799f8ea58bbd8a1a8a9f8dcee71322a2520ab Mon Sep 17 00:00:00 2001 From: Liang Jiaqing Date: Mon, 9 Mar 2026 08:46:05 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20/status=E5=91=BD=E4=BB=A4=20is=5Fbusy()?= =?UTF-8?q?=20=E2=86=92=20is=5Frunning?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fsapp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fsapp.py b/fsapp.py index cdaffd1..1a8459b 100644 --- a/fsapp.py +++ b/fsapp.py @@ -75,7 +75,7 @@ def handle_command(open_id, cmd): elif cmd == "/help": send_message(open_id, "📖 命令列表:\n/stop - 停止当前任务\n/status - 查看状态\n/restore - 恢复上次对话历史\n/new - 开启新对话\n/help - 显示帮助") elif cmd == "/status": - send_message(open_id, f"状态: {'🟢 空闲' if not agent.is_busy() else '🔴 运行中'}") + send_message(open_id, f"状态: {'🟢 空闲' if not agent.is_running else '🔴 运行中'}") elif cmd == "/restore": try: files = glob.glob('./temp/model_responses_*.txt')