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