소스 검색

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)