启动项目后,Langchain-Chatchat WebUI加载模型列表时会报错:TypeError: 'NoneType' object is not iterable。
通过调试发现调用/llm_model/list_running_models接口时会报错:llm_api.py[line:23] - ERROR: TypeError: Client.__init__() got an unexpected keyword argument 'proxies'
尝试关闭本地网络代理都没用,求解答。
建议检查 httpx
的版本。如果当前版本是 0.28.0
,尝试降级到 0.27.2
,因为更高版本的 httpx
可能移除了对某些参数的支持
pip uninstall httpx pip install httpx==0.27.2
😂