mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-03-19 13:28:11 +08:00
wechatmp
This commit is contained in:
@@ -17,4 +17,7 @@ def create_channel(channel_type):
|
||||
elif channel_type == 'terminal':
|
||||
from channel.terminal.terminal_channel import TerminalChannel
|
||||
return TerminalChannel()
|
||||
elif channel_type == 'mp':
|
||||
from channel.wechatmp.wechatmp_channel import WechatMPServer
|
||||
return WechatMPServer()
|
||||
raise RuntimeError
|
||||
|
||||
Reference in New Issue
Block a user