瀏覽代碼

minor change

goldfishh 3 年之前
父節點
當前提交
0597ba20d2
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      plugins/tool/tool.py

+ 1 - 1
plugins/tool/tool.py

@@ -81,7 +81,7 @@ class Tool(Plugin):
                 # chatgpt-tool-hub will reply you with many tools
                 logger.debug("[tool]: just-go")
                 try:
-                    _reply = self.app.ask(content_list[1], user_session)
+                    _reply = self.app.ask(query, user_session)
                     e_context.action = EventAction.BREAK_PASS
                 except ValueError as e:
                     logger.exception(e)