File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 33import requests , json
44from bot .bot import Bot
55from bot .session_manager import SessionManager
6- from bot .baidu . baidu_wenxin_session import BaiduWenxinSession
6+ from bot .chatgpt . chat_gpt_session import ChatGPTSession
77from bridge .context import ContextType , Context
88from bridge .reply import Reply , ReplyType
99from common .log import logger
@@ -53,7 +53,7 @@ def __init__(self):
5353 self .host = urlparse (self .spark_url ).netloc
5454 self .path = urlparse (self .spark_url ).path
5555 # 和wenxin使用相同的session机制
56- self .sessions = SessionManager (BaiduWenxinSession , model = const .XUNFEI )
56+ self .sessions = SessionManager (ChatGPTSession , model = const .XUNFEI )
5757
5858 def reply (self , query , context : Context = None ) -> Reply :
5959 if context .type == ContextType .TEXT :
You can’t perform that action at this time.
0 commit comments