From 0597ba20d297284efccfd8dc9ecd247f5ef06bf9 Mon Sep 17 00:00:00 2001 From: goldfishh Date: Thu, 30 Mar 2023 01:38:08 +0800 Subject: [PATCH] minor change --- plugins/tool/tool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/tool/tool.py b/plugins/tool/tool.py index 12ec6a3..9b1d21d 100644 --- a/plugins/tool/tool.py +++ b/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)