-
Notifications
You must be signed in to change notification settings - Fork 6.1k
Description
2025-12-22 17:24:33.640 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:33.644 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:33.644 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:33.644 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/langchain/_api/module_import.py:87: LangChainDeprecationWarning: Importing GuardrailsOutputParser from langchain.output_parsers is deprecated. Please replace the import with the following:
from langchain_community.output_parsers.rail_parser import GuardrailsOutputParser
warnings.warn(
2025-12-22 17:24:36.769 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/search_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:36.770 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/search_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:36.770 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/search_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:36.770 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:24:36.771 Uncaught app exception
Traceback (most recent call last):
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui.py", line 69, in
knowledge_base_page(api=api, is_lite=is_lite)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/knowledge_base/knowledge_base.py", line 374, in knowledge_base_page
data = [
^
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/knowledge_base/knowledge_base.py", line 377, in
"id": x["id"],
~^^^^^^
TypeError: string indices must be integers, not 'str'
2025-12-22 17:24:40.463 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:40.467 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:40.467 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:40.468 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:24:40.468 Uncaught app exception
Traceback (most recent call last):
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui.py", line 71, in
kb_chat(api=api)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/kb_chat.py", line 118, in kb_chat
kb_list = [x["kb_name"] for x in api.list_knowledge_bases()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2025-12-22 17:24:40.668 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:40.670 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:40.670 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:40.671 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:24:40.671 Uncaught app exception
Traceback (most recent call last):
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui.py", line 71, in
kb_chat(api=api)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/kb_chat.py", line 118, in kb_chat
kb_list = [x["kb_name"] for x in api.list_knowledge_bases()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2025-12-22 17:24:42.583 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:42.587 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:42.587 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:42.588 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:24:42.776 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:42.779 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:42.779 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:24:42.780 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:25:05.405 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:05.408 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:05.408 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /tools: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:05.408 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
INFO: 127.0.0.1:32822 - "POST /chat/chat/completions HTTP/1.1" 200 OK
2025-12-22 17:25:05,877 httpx 119627 INFO HTTP Request: POST http://127.0.0.1:7861/chat/chat/completions "HTTP/1.1 200 OK"
2025-12-22 17:25:05,908 httpx 119481 INFO HTTP Request: POST http://127.0.0.1:9997/v1/chat/completions "HTTP/1.1 200 OK"
2025-12-22 17:25:25.613 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:25.615 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:25.616 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:25.616 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:25:25.616 Uncaught app exception
Traceback (most recent call last):
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui.py", line 71, in
kb_chat(api=api)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/kb_chat.py", line 118, in kb_chat
kb_list = [x["kb_name"] for x in api.list_knowledge_bases()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2025-12-22 17:25:25.851 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:25.854 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:25.854 | ERROR | chatchat.webui_pages.utils:get:64 - TypeError: error when get /knowledge_base/list_knowledge_bases: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:25.854 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:25:25.855 Uncaught app exception
Traceback (most recent call last):
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui.py", line 71, in
kb_chat(api=api)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/kb_chat.py", line 118, in kb_chat
kb_list = [x["kb_name"] for x in api.list_knowledge_bases()]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: 'NoneType' object is not iterable
2025-12-22 17:25:31.921 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/search_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:31.921 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/search_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:31.922 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/search_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:31.922 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:25:31.922 Uncaught app exception
Traceback (most recent call last):
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui.py", line 69, in
knowledge_base_page(api=api, is_lite=is_lite)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/knowledge_base/knowledge_base.py", line 374, in knowledge_base_page
data = [
^
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/knowledge_base/knowledge_base.py", line 377, in
"id": x["id"],
~^^^^^^
TypeError: string indices must be integers, not 'str'
2025-12-22 17:25:33.007 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/delete_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:33.008 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/delete_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:33.008 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/delete_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:33.008 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:25:33.235 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/search_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:33.236 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/search_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:33.236 | ERROR | chatchat.webui_pages.utils:post:87 - TypeError: error when post /knowledge_base/search_docs: Client.init() got an unexpected keyword argument 'proxies'
2025-12-22 17:25:33.236 | ERROR | chatchat.webui_pages.utils:to_json:233 - AttributeError: API未能返回正确的JSON。'NoneType' object has no attribute 'json'
2025-12-22 17:25:33.236 Uncaught app exception
Traceback (most recent call last):
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/streamlit/runtime/scriptrunner/script_runner.py", line 600, in _run_script
exec(code, module.dict)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui.py", line 69, in
knowledge_base_page(api=api, is_lite=is_lite)
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/knowledge_base/knowledge_base.py", line 374, in knowledge_base_page
data = [
^
File "/home/boss/Llama-factory/conda/envs/distall/lib/python3.11/site-packages/chatchat/webui_pages/knowledge_base/knowledge_base.py", line 377, in
"id": x["id"],
~^^^^^^
TypeError: string indices must be integers, not 'str'