mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-06-02 00:57:41 +08:00
refactor: rename WechatComChannel to WechatComAppChannel
This commit is contained in:
@@ -30,7 +30,7 @@ def create_channel(channel_type):
|
||||
|
||||
return WechatMPChannel(passive_reply=False)
|
||||
elif channel_type == "wechatcom":
|
||||
from channel.wechatcom.wechatcom_channel import WechatComChannel
|
||||
from channel.wechatcom.wechatcomapp_channel import WechatComAppChannel
|
||||
|
||||
return WechatComChannel()
|
||||
return WechatComAppChannel()
|
||||
raise RuntimeError
|
||||
|
||||
Reference in New Issue
Block a user