From 284f83bcb0885ec06bd40e7bb65b2ba58c4fec72 Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Tue, 14 Apr 2026 18:43:36 +0800 Subject: [PATCH] Update astrbot/core/star/star_handler.py Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- astrbot/core/star/star_handler.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/astrbot/core/star/star_handler.py b/astrbot/core/star/star_handler.py index 55c089951..33fc5d480 100644 --- a/astrbot/core/star/star_handler.py +++ b/astrbot/core/star/star_handler.py @@ -229,8 +229,8 @@ class EventType(enum.Enum): OnWaitingLLMRequestEvent = enum.auto() # 等待调用 LLM(在获取锁之前,仅通知) OnLLMRequestEvent = enum.auto() # 收到 LLM 请求(可以是用户也可以是插件) OnLLMResponseEvent = enum.auto() # LLM 响应后 - OnAgentBegin = enum.auto() # Agent 开始运行 - OnAgentDone = enum.auto() # Agent 运行完成 + OnAgentBeginEvent = enum.auto() # Agent 开始运行 + OnAgentDoneEvent = enum.auto() # Agent 运行完成 OnDecoratingResultEvent = enum.auto() # 发送消息前 OnCallingFuncToolEvent = enum.auto() # 调用函数工具 OnUsingLLMToolEvent = enum.auto() # 使用 LLM 工具