Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

TypeError: The type of ChatGLM.callback_manager differs from the new default value; if you wish to change the type of this field, please use a type annotation

Open gsshawn opened this issue 2 years ago • 4 comments
trafficstars

Mac 运行 python3 ./webui.py 报 TypeError: The type of ChatGLM.callback_manager differs from the new default value; if you wish to change the type of this field, please use a type annotation

gsshawn avatar Apr 27 '23 07:04 gsshawn

请问模型已经下载到本地并更新到最新版了吗?

gsshawn @.***>于2023年4月27日 周四15:07写道:

Mac 运行 python3 ./webui.py 报 TypeError: The type of ChatGLM.callback_manager differs from the new default value; if you wish to change the type of this field, please use a type annotation

— Reply to this email directly, view it on GitHub https://github.com/imClumsyPanda/langchain-ChatGLM/issues/188, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABLH5EQZEXLAKGOQUVNCRX3XDILKFANCNFSM6AAAAAAXNNOPMY . You are receiving this because you are subscribed to this thread.Message ID: @.***>

imClumsyPanda avatar Apr 27 '23 07:04 imClumsyPanda

工程是最新的,模型应该没有下载到本地,这个我下载模型后再试试吧

gsshawn avatar Apr 27 '23 09:04 gsshawn

模型下载了,也按照Q9的提示修改了对应的路径,但启动程序还是报同样的问题。

gsshawn avatar Apr 28 '23 07:04 gsshawn

更新pydantic包试试

juanerxiaokeai avatar May 04 '23 07:05 juanerxiaokeai