Summary AI V2 破坏性更改 #403
zkz098
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
使用 Summary 的用户更新到 0.4.22 后会丢失原有AI生成内容缓存
因为0.4.22对 Summary AI 的数据库进行了破坏性更改,所以新版本程序无法读取原有的数据
新版本包括如下变更:
迁移方法:
因为新版本数据库包含SHA256值,所以不建议手动迁移,我们建议使用MOCK服务器使程序生成假数据库之后,再用之前的数据替换掉MOCK数据,这里提供一个基于python flask的MOCK服务器:
运行上述python程序后,在ShokaX中将服务器地址配置为
http://localhost:5000/summarize,Apikey为test123,model为model即可使用此MOCK服务器新summary格式的path即为原summary path的sha256值,对应内容一致
目前迁移脚本还没写,有需要的可以在公告下面扣个1()我看看需不需要写
Beta Was this translation helpful? Give feedback.
All reactions