From c41ec13984be203e78af1e778c0bd9670ed6a48c Mon Sep 17 00:00:00 2001 From: 6vision Date: Sat, 15 Jun 2024 16:34:32 +0800 Subject: [PATCH] fix terminal channel --- channel/terminal/terminal_channel.py | 1 + 1 file changed, 1 insertion(+) diff --git a/channel/terminal/terminal_channel.py b/channel/terminal/terminal_channel.py index 9a413dc..9b64eb4 100644 --- a/channel/terminal/terminal_channel.py +++ b/channel/terminal/terminal_channel.py @@ -78,6 +78,7 @@ class TerminalChannel(ChatChannel): prompt = trigger_prefixs[0] + prompt # 给没触发的消息加上触发前缀 context = self._compose_context(ContextType.TEXT, prompt, msg=TerminalMessage(msg_id, prompt)) + context["isgroup"] = False if context: self.produce(context) else: