mirror of
https://github.com/zhayujie/chatgpt-on-wechat.git
synced 2026-07-21 14:17:11 +08:00
fix get_session error
This commit is contained in:
@@ -76,7 +76,7 @@ class Tool(Plugin):
|
|||||||
|
|
||||||
# Don't modify bot name
|
# Don't modify bot name
|
||||||
all_sessions = Bridge().get_bot("chat").sessions
|
all_sessions = Bridge().get_bot("chat").sessions
|
||||||
user_session = all_sessions.session_query(query, e_context['context']['session_id'])
|
user_session = all_sessions.session_query(query, e_context['context']['session_id']).messages
|
||||||
|
|
||||||
# chatgpt-tool-hub will reply you with many tools
|
# chatgpt-tool-hub will reply you with many tools
|
||||||
logger.debug("[tool]: just-go")
|
logger.debug("[tool]: just-go")
|
||||||
|
|||||||
Reference in New Issue
Block a user