TypeError: 'NoneType' object is not iterable
啟動項目后,Langchain-Chatchat WebUI加載模型列表時會報錯:TypeError: 'NoneType' object is not iterable。
通過調(diào)試發(fā)現(xiàn)調(diào)用/llm_model/list_running_models接口時會報錯:llm_api.py[line:23] - ERROR: TypeError: Client.__init__() got an unexpected keyword argument 'proxies'
嘗試關(guān)閉本地網(wǎng)絡(luò)代理都沒用,求解答。
2025-02-21
建議檢查
httpx的版本。如果當(dāng)前版本是0.28.0,嘗試降級到0.27.2,因為更高版本的httpx可能移除了對某些參數(shù)的支持??