From faf5c9ce019990a6cec3238cd5073ae9a83dcf10 Mon Sep 17 00:00:00 2001 From: Shen Hao <65658684+shenhao-stu@users.noreply.github.com> Date: Sun, 19 Apr 2026 19:11:39 +0800 Subject: [PATCH] feat: Add imports for GeneraticAgent and continue command Import GeneraticAgent and install continue command. --- frontends/chatapp_common.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/frontends/chatapp_common.py b/frontends/chatapp_common.py index f10f6cf..dcd6cf2 100644 --- a/frontends/chatapp_common.py +++ b/frontends/chatapp_common.py @@ -301,3 +301,8 @@ class AgentChatMixin: await self.send_text(chat_id, f"❌ 错误: {e}", **ctx) finally: self.user_tasks.pop(chat_id, None) + + +from agentmain import GeneraticAgent as _GA +from continue_cmd import install as _install_continue +_install_continue(_GA)