打开后报错
错误Pass argument stream to model.chat() is buggy, deprecated, and marked for removal. Please use model.chat_stream(...) instead of model.chat(..., stream=True).
向model.chat()传入参数stream的用法可能存在Bug,该用法已被废弃,将在未来被移除。请使用model.chat_stream(...)代替model.chat(..., stream=True)。
修改llms\llm_qwen.py中的for response in model.chat(tokenizer, prompt, history=history, stream=True):为for response in model.chat_stream(tokenizer, prompt, history=history): 就可以了
打开后报错 错误Pass argument stream to model.chat() is buggy, deprecated, and marked for removal. Please use model.chat_stream(...) instead of model.chat(..., stream=True). 向model.chat()传入参数stream的用法可能存在Bug,该用法已被废弃,将在未来被移除。请使用model.chat_stream(...)代替model.chat(..., stream=True)。
修改llms\llm_qwen.py中的for response in model.chat(tokenizer, prompt, history=history, stream=True):为for response in model.chat_stream(tokenizer, prompt, history=history): 就可以了