-
-
Notifications
You must be signed in to change notification settings - Fork 10.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Bug] 1.37.2 chat-preview [Config Import Error] e.toISOString is not a function #5144
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
@Kshao123 你好!我是Dosu,一个可以帮助您解决错误、回答问题并成为贡献者的机器人。在等待人类维护者的过程中,我会尽力帮助您。 The error you're encountering, "e.toISOString is not a function," suggests that there is an issue with how date objects are being handled during the import process. This typically occurs when a value expected to be a Here are a few steps you can take to troubleshoot and potentially resolve this issue:
By addressing these areas, you should be able to resolve the import issue related to date handling. If the problem persists, reviewing recent changes or commits related to the import/export functionality might provide additional insights. To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
OK,我看下修复掉 |
OK, I'll take a look and fix it. |
哦 仔细看了下,这个是用了 pglite 的导出方案,因此目前还没兼容常规的导入导出。需要单独再处理下。 |
Oh, I looked carefully and found that this uses pglite's export solution, so it is not yet compatible with regular import and export. It needs to be dealt with separately. |
📦 部署环境
Official Preview
📌 软件版本
1.37.2
💻 系统环境
macOS
🌐 浏览器
Chrome, Firefox
🐛 问题描述
导入刚导出的配置如:“导出所有助手和消息”、“导出全局设置”,不修改直接导入时会抛出错误。
测试环境:
📷 复现步骤
测试了 exportType 为 sessions、all 和 settings,全新客户端(无任何设置和相关操作)。
建立新聊天,发送信息,导出,导入,抛出错误
LobeChat-sessions-v7 (2).json
🚦 期望结果
No response
📝 补充信息
No response
The text was updated successfully, but these errors were encountered: