File "/u01/liuys/Chat2BI/web_server/web_demo.py", line 19, in text_analysis
response, code, history = function_calling(text, top_k, top_p, temperature, model_type)
File "/u01/liuys/Chat2BI/web_server/function_call/build_function_call_pipline.py", line 34, in function_calling
response, code, history = class_instance.do_chat(query=query,
File "/u01/liuys/Chat2BI/llms/chatglm3/generate.py", line 57, in do_chat
response, history = self.model_chat(query, tools_system_info, top_p, temperature, tools_callable_path, tools)
File "/u01/liuys/Chat2BI/llms/chatglm3/generate.py", line 23, in model_chat
return self.run_task(model_response, model_history, top_p, temperature, tools_callable_path, plugin_info)
File "/u01/liuys/Chat2BI/llms/chatglm3/generate.py", line 30, in run_task
module_path = os.path.join(tools_callable_path, plugin_info['category'],
TypeError: list indices must be integers or slices, not str
File "/u01/liuys/Chat2BI/web_server/web_demo.py", line 19, in text_analysis response, code, history = function_calling(text, top_k, top_p, temperature, model_type) File "/u01/liuys/Chat2BI/web_server/function_call/build_function_call_pipline.py", line 34, in function_calling response, code, history = class_instance.do_chat(query=query, File "/u01/liuys/Chat2BI/llms/chatglm3/generate.py", line 57, in do_chat response, history = self.model_chat(query, tools_system_info, top_p, temperature, tools_callable_path, tools) File "/u01/liuys/Chat2BI/llms/chatglm3/generate.py", line 23, in model_chat return self.run_task(model_response, model_history, top_p, temperature, tools_callable_path, plugin_info) File "/u01/liuys/Chat2BI/llms/chatglm3/generate.py", line 30, in run_task module_path = os.path.join(tools_callable_path, plugin_info['category'], TypeError: list indices must be integers or slices, not str