Sadam·Sadik

Results 4 comments of Sadam·Sadik

如果浏览器的上传下载文件无法唤醒或者JS调用的话, 能不能跟 [pywebview](https://github.com/r0x0r/pywebview) 来封装出一个Desktop版🙏 其支持 [DragDrop](https://pywebview.flowrl.com/examples/drag_drop.html) 和 [Downloads](https://pywebview.flowrl.com/examples/downloads.html) 对应着 `rz`和 `sz`

由于我用原来的 [openai_api.py](https://github.com/labring/FastGPT/blob/main/files/models/ChatGLM2/openai_api.py) 文件加载 [chatglm3-6b]() 模型时, 其 [tokenization_chatglm.py](https://huggingface.co/THUDM/chatglm3-6b/blob/main/tokenization_chatglm.py) 文件处理History时总时报字典的`KeyError` (如下图所示) 所以我一气之下修改了一下源代码, 也顺手就推送到了这里, 希望给其他开发者提供便利, 少做重复工作. 还希望原作者能够采纳.

I have similar problem on the websocket connection. My ws connection will be closed automatically per 24h. After some researching on this, i have fixed this problem on my way:...