mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-19 13:28:11 +08:00
formatting: run precommit on all files
This commit is contained in:
@@ -77,9 +77,7 @@ class TerminalChannel(ChatChannel):
|
||||
if check_prefix(prompt, trigger_prefixs) is None:
|
||||
prompt = trigger_prefixs[0] + prompt # 给没触发的消息加上触发前缀
|
||||
|
||||
context = self._compose_context(
|
||||
ContextType.TEXT, prompt, msg=TerminalMessage(msg_id, prompt)
|
||||
)
|
||||
context = self._compose_context(ContextType.TEXT, prompt, msg=TerminalMessage(msg_id, prompt))
|
||||
if context:
|
||||
self.produce(context)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user